DSL-N :: gcc can't find /usr/bin/ld



Whenever I attempt to run gcc on some file (gcc was installed via the DSL extension that contains libraries) it gives me an error like the following:

Code Sample
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status


Has anyone else run into this problem and found a solution/workaround?  thanks!

Your problem is not a missing /usr/bin/ld, but that that ld cannot find crt1.o

Make sure you have that somewhere in /usr like /usr/lib
Or you could specify the -B flag to gcc.

However, I must warn you that packages from mydsl are specifically made to work only for DSL, and not DSL-N.  Also, a search would've revealed that using the debian packages (i.e. via apt-get) is generally used.

Quote (^thehatsrule^ @ April 24 2007,21:42)
Your problem is not a missing /usr/bin/ld, but that that ld cannot find crt1.o

Make sure you have that somewhere in /usr like /usr/lib
Or you could specify the -B flag to gcc.

However, I must warn you that packages from mydsl are specifically made to work only for DSL, and not DSL-N.  Also, a search would've revealed that using the debian packages (i.e. via apt-get) is generally used.

I realized after I posted that I was missing part of the error message and so I edited my post and simply forgot to edit the title so that's why it (incorrectly) said missing /usr/bin/ld instead of the real problem.  

As for the suggestion for apt-get I know about that, I've done LOTS of searching on this issue prior to deciding on the gcc route and would prefer to have gcc work because I would like to be able to not only compile existing apps, but create my own (currently not even a "Hello World" app will compile).

Any other suggestions?

I've managed to compile in DSL-N by loading a bunch of *.deb files - I can post the details here if that would be useful.
Quote (Juanito @ April 25 2007,11:08)
I've managed to compile in DSL-N by loading a bunch of *.deb files - I can post the details here if that would be useful.

Please post more info.  I'm definitely interested!
Next Page...
original here.