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] |
Other format: | [Raw text] |
--with-libiconv-prefix=/usr/lib/iconv
I find the C compiler works ok. But the C++ compiler can't find its own library files.
kirkby@t2:[~] $ gcc hello_world.c kirkby@t2:[~] $ ./a.out hello world kirkby@t2:[~] $ g++ test.cpp kirkby@t2:[~] $ ./a.out ld.so.1: a.out: fatal: libstdc++.so.6: open failed: No such file or directory Killed
I'm using the Sun linker, not the GNU one, so it's possible g++ is sending stuff to the linker to indicate where the libraries are, but the linker is ignoring them.
Ideally I'd like to send something to the Sun linker to day "look in /usr/local/gcc-4.4.0-sun-linker/lib for libraries too"
-- Marc Glisse
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |