Building D on windows

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 2 09:24:38 PDT 2014


On Wednesday, 2 July 2014 at 16:06:08 UTC, Kashyap wrote:
> I got the following error -
> C:\Users\labuser\dlang\druntime>dir 
> ..\dmd\src\vcbuild\Win32\Release\dmd_msc.exe
>
>
> C:\Users\labuser\dlang\druntime>shell script.sh
> shell 1.01
> make -f posix.mak 
> DMD=../dmd/src/vcbuild/Win32/Release/dmd_msc.exe
> Error on line 10: '=' is not a valid filename char
>
> --- errorlevel 1

Hi,

It looks like you are trying to use the posix makefile with 
Digital Mars make. posix.mak uses GNU make syntax - the makefile 
for DigitalMars make is win32.mak. So you will need to either 
make sure GNU make comes first in your PATH, or simply use 
win32.mak instead.

There is a wiki page with instructions for building D from source:
http://wiki.dlang.org/Building_DMD


More information about the Digitalmars-d-learn mailing list