Cant get hello.d to build:

Andy Little andy at servocomm.freeserve.co.uk
Sat Mar 3 04:42:49 PST 2007


Cant get hello.d to build:

Directory setup

dmd.zip --> C:/digital_mars/dmd

e.g dmd/dmd/bin --> C:/digital_mars/dmd/dmd/bin

dmc.zip --> C:/digital_mars/dmc

e.g dmc/dmc/bin --> C:/digital_mars/dmc/dm.bin


Put hello.d in 

D:/projects/dmd/hello.d

from D:/projects/dmd

create batch file setting up PatH:

"
set PATH=C:/digital_mars/dmd/dmd/bin;c:/digital_mars/dmd/dm/bin;c:/digital_mars/dmc/dm/bin
"

from D:/projects/dmd, (After running path setup batch file) On running command

D:\Projects\dmd>dmd hello.d
C:\digital_mars\dmd\dmd\bin\..\..\dm\bin\link.exe hello,,,user32+kernel32/noi;
Can't run 'C:\digital_mars\dmd\dmd\bin\..\..\dm\bin\link.exe', check PATH

D:\Projects\dmd>

 (Object file hello.obj Is created ) in D:/projects/dmd/

linker is found :

D:\Projects\dmd>link
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved

OPTLINK : Warning 23: No Stack
OPTLINK : Warning 134: No Start Address

What's the problem?
regards
Andy Little


More information about the Digitalmars-d-learn mailing list