This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
libgcc linking oddity
- From: Richard Zidlicky <rz at linux-m68k dot org>
- To: gcc at gnu dot org
- Date: Thu, 15 Jan 2004 11:59:10 +0100
- Subject: libgcc linking oddity
Hello,
I notice that despite libgcc version numbering the default
is to link against "-lgcc_s" or "-lgcc_s%M" resp. Furthermore
libgcc_s.so is typically installed into $prefix/lib.
So on a system where I have gcc-3.0 and gcc-3.4 installed
in parallel, gcc-3.x will link programs against libgcc_s.so.1.
Is this the intended behaviour? Wouldnt it be better to
hide libgcc_s.so into the same versioned directory like
libgcc.a and libgcc_eh.a?
Richard