This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Not finding lstdc++
- To: gcc-help at gcc dot gnu dot org
- Subject: Not finding lstdc++
- From: "Telmo Ricardo Lopes Alberto" <alberto dot telmo at netc dot pt>
- Date: Thu, 2 Aug 2001 15:39:23 +0100
Hello, I was running make to compile an application, and it builds all the
.o files, and then when it runs "ld" there comes this error:
ld -lstdc++
ld: fatal: library -lstdc++: not found
ld: fatal: File processing errors.
How can i set this location, so that ld works? I can't find libstdc++.so,
but there's libstdc++.a , how do I "tell" ld where to find it, is there any
environment variable that needs to be set?
Thanks,
Telmo
P.S: I can't subscribe the mailing list, so please send answers to
alberto.telmo@netc.pt