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] |
I am currently trying to install the 4.2.0 version of GCC on aThe GNU linker knows the '-rpath-link <libpath>' and '-rpath <libpath>' options
Linux system that has not seen much administration work over the past
years.
The problem here is that this new compiler with its updated/
improved/bug-less runtime libraries (such as libgcc_s.so,
libstdc++.so, libgfortran.so) does not explicitly tell the linker
to link against them (or set DT_RUNPATH in the resulting executables
accordingly) but to use what is setup by the sysadmin (via /etc/ld.so.conf
and friends).
Consequently, I reverted back to configuring with static runtime libraries which even more surprisingly yielded the same result. It appears that g++ only passes a lone -lstdc++ to the linker but not the path where GCC supposedly installed its own sparkly new libraries (either shared or static).
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |