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