Re: g++ error on Solaris/Sparc undefined reference to std::cout

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Qi Zuo <bitsunnyday@xxxxxxxxx> writes:

> Following your instruction, I checked the libstdc++.so. But I don't
> know whether I've done the right check.

It looks right.  This is a strange problem.

You said that you are using GNU ld.  Try compiling hello.cpp with
-Wl,-t.  That will show you the exact libstdc++ which the linker is
opening.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux