This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Not finding lstdc++


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]