View mode: basic / threaded / horizontal-split · Log in · Help
May 12, 2004
newbie linking
I'm having newbie linking issues w/ gdc.

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

Command: gdc -osimple simple.d

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.

Top | Discussion index | About this forum | D home