February 14, 2009 d in osx | ||||
---|---|---|---|---|
| ||||
hello, i just downloaded d for osx (at last :)), but when i try to compile a simple prog, i get the followin msg: object.d: module object cannot read file 'object.d' i have 'dmd', 'obj2asm', and 'dumpobj' in $HOME/local/bin, libphobos2.a in $HOME/local/lib. Where should i copy 'src' and what to write in dmd.conf ? Thanx |
March 05, 2009 Re: d in osx | ||||
---|---|---|---|---|
| ||||
Posted in reply to jstark | Edit /etc/dmd.conf to point the runtime library. The runtime library is found in src directory. My dmd.conf looks like [Environment] ;DFLAGS=-I%@P%/../src/phobos -I%@P%/../src/druntime/import -L-L%@P%/../lib DFLAGS=-I/usr/local/dmd/src/phobos -I/usr/local/dmd/src/druntime/import -L-L/usr/local/dmd/lib |
Copyright © 1999-2021 by the D Language Foundation