Help with GDC and/or DMD for Linux and Code::Blocks

Brendan O. brenzie at gmail.com
Sat Aug 30 09:28:44 PDT 2008


I noticed that compiling a simple program with DMD for testing doesn't work. The message I get:

***
object.d: module object cannot read file 'object.d'
***

I looked for object.d and found it, and set up the compiler inside C::B to locate it, though it looked like it should already see it. Okay, I tested the simple program you get when you start a D project. Seems to finally have some results. I changed it to a simple "hello D", and I get errors:

***
/usr/include/d/4.2.3/std/c/stdio.d|240|Error: identifier 'gcc.config.libc.fpos_t' is not defined|
/usr/include/d/4.2.3/std/c/stdio.d|275|Error: identifier 'gcc.config.libc.fpos_t' is not defined|
/usr/include/d/4.2.3/std/c/stdio.d|275|Error: gcc.config.libc.fpos_t is used as a type|
/usr/include/d/4.2.3/std/c/stdio.d|276|Error: identifier 'gcc.config.libc.fpos_t' is not defined|
/usr/include/d/4.2.3/std/c/stdio.d|276|Error: gcc.config.libc.fpos_t is used as a type|
/usr/include/d/4.2.3/std/c/stdlib.d|127|module config cannot read file 'gcc/config/config.d'|
||=== Build finished: 6 errors, 0 warnings ===|
***

At this point, I'm tempted to write "goodbye D" or maybe, God forbid, "hello, again, Windows... long time no see".


More information about the Digitalmars-d-learn mailing list