www.digitalmars.com         C & C++   DMDScript  

D.gnu - newbie linking

I'm having newbie linking issues w/ gdc.

simple.d file contents: "int main() { return 0; }"

Command: gdc -osimple simple.d

Error:
ld: crtbegin.o: No such file: No such file or directory

Except that ld specifies its entire path instead of just "ld".

This is a freshly set up Gentoo system.  I must be missing something simple...

I also tried adding "-lphobos", but no dice.  DMD works without a hitch.

Thanks,
Kevin
May 11 2004