Help with DMD 1.00? - Dont know where else to post this

sylverpyro sylverpyro at gmail.com
Mon Jan 22 20:12:47 PST 2007


Sorry, but I could not figure out what group to post this to, so I went with the general one.

For some reason dmd 1.00 is giving me a lot of headaches.  

First off, there seems to be some sort of issue with the dmd.conf file.  The compiler seems to be able to locate the file (in /etc/ and in /dmd/bin) however, it seems to not read in the DFLAG arguements entierly.

For example,  when I try to compile a simple helloWorld.d program, when I go to compile it, it spits out:
" object.d: module object cannot read file 'object.d' "

I did an strace, and the compiler found the dmd.conf file and opened it correctly and even read the line that contained:
DFLAGS="-I/home/sylverpyro/Software/Linux/D/DMD/dmd1.00/dmd/src/phobos"

Next I attempted to set a bash env. variable DFLAGS with the same luck.  

Finally I attempted simply putting it on the command line and that finally worked ( bash~# dmd DFLAGS=-I/home/sylverpyro/Software/Linux/D/DMD/dmd1.00/dmd/src/phobos
 helloWorld.d ).

Is this a wide spread issue or am I alone in this one?

One other issue that I have run across but so far have not found a solution for.  When compiling a program using std.boxer, the linker returns the following error message:

smUtil.o: In function `_D3std5boxer13__T5unboxTAaZ5unboxFS3std5boxer3BoxZAa':smUtil.d:(.gnu.linkonce.t_D3std5boxer13__T5unboxTAaZ5unboxFS3std5boxer3BoxZAa+0x16): undefined reference to `_D3std5boxer8__assertFiZv'
collect2: ld returned 1 exit status

Does anyone have any idea what the heck this means?
Any help is appreciated.



More information about the Digitalmars-d mailing list