* libgcc linking oddity
@ 2004-01-15 11:06 Richard Zidlicky
2004-01-15 23:04 ` Richard Henderson
0 siblings, 1 reply; 2+ messages in thread
From: Richard Zidlicky @ 2004-01-15 11:06 UTC (permalink / raw)
To: gcc
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libgcc linking oddity
2004-01-15 11:06 libgcc linking oddity Richard Zidlicky
@ 2004-01-15 23:04 ` Richard Henderson
0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2004-01-15 23:04 UTC (permalink / raw)
To: Richard Zidlicky; +Cc: gcc
On Thu, Jan 15, 2004 at 11:59:10AM +0100, Richard Zidlicky wrote:
> 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?
Yes.
> Wouldnt it be better to
> hide libgcc_s.so into the same versioned directory like
> libgcc.a and libgcc_eh.a?
Nope. That won't work.
r~
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-01-15 23:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 11:06 libgcc linking oddity Richard Zidlicky
2004-01-15 23:04 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).