digitalmars.D - DMD for win32 may have a bug in option -I
- firstrose (7/7) Jan 11 2007 When I enter
- Alexander Panek (7/20) Jan 11 2007 Do you have a dmd.conf in the same directory as dmd.exe? (Would be
- Lionello Lunesu (7/14) Jan 11 2007 Huh, looks like something I've fallen for a couple of times on my Win x6...
- Kirk McDonald (12/25) Jan 11 2007 DMD uses an ancient linker, OPTLINK, which doesn't know how to handle
- firstrose (3/11) Jan 11 2007 ok
When I enter dmd -I"C:\Program Files\dmd\src\phobos" hello.d it said can't find object.d but enter dmd -I"C:\Progra~1\dmd\src\phobos" hello.d it runs well Maybe it's a bug
Jan 11 2007
firstrose wrote:When I enter dmd -I"C:\Program Files\dmd\src\phobos" hello.d it said can't find object.d but enter dmd -I"C:\Progra~1\dmd\src\phobos" hello.d it runs well Maybe it's a bugDo you have a dmd.conf in the same directory as dmd.exe? (Would be "C:\Program Files\dmd\bin\sc.ini") If so, check if the given DFLAGS has the correct paths. If not, check http://digitalmars.com/d/dcompiler.html#general . Best regards, Alex
Jan 11 2007
"firstrose" <firstrose2000_FUCK_SPAM_ hotmail.com> wrote in message news:eo5aku$2rro$1 digitaldaemon.com...When I enter dmd -I"C:\Program Files\dmd\src\phobos" hello.d it said can't find object.d but enter dmd -I"C:\Progra~1\dmd\src\phobos" hello.d it runs well Maybe it's a bugHuh, looks like something I've fallen for a couple of times on my Win x64 machine, where 32-bit binaries are actually installed to C:\Program Files (x86)\... but the short filename still being C:\Progra~1... Also, the schizo x64 registry bit me quite often :S L.
Jan 11 2007
firstrose wrote:When I enter dmd -I"C:\Program Files\dmd\src\phobos" hello.d it said can't find object.d but enter dmd -I"C:\Progra~1\dmd\src\phobos" hello.d it runs well Maybe it's a bugDMD uses an ancient linker, OPTLINK, which doesn't know how to handle paths with spaces in them. Despite this flaw, Walter is enamoured of this linker, as it is incredibly fast and optimized. Because of this, it is customary to not install dmd in Program Files. I have it in C:\dmd\dmd and C:\dmd\dm, for instance. The installation instructions recommend C:\dmd and C:\dm. The workaround you discovered works, also. -- Kirk McDonald Pyd: Wrapping Python with D http://pyd.dsource.org
Jan 11 2007
※ 引述 Kirk McDonald (kirklin.mcdonald gmail.com) 之铭言firstrose wrote: DMD uses an ancient linker, OPTLINK, which doesn't know how to handle paths with spaces in them. Despite this flaw, Walter is enamoured of this linker, as it is incredibly fast and optimized. Because of this, it is customary to not install dmd in Program Files. I have it in C:\dmd\dmd and C:\dmd\dm, for instance. The installation instructions recommend C:\dmd and C:\dm. The workaround you discovered works, also.ok thank you very much
Jan 11 2007