This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Extremely(!) long command lines with g++-3.0
- To: <kde-devel at kde dot org>
- Subject: Re: Extremely(!) long command lines with g++-3.0
- From: Michael Matz <matz at kde dot org>
- Date: Sat, 23 Jun 2001 22:30:57 +0200 (MET DST)
- cc: <gcc at gcc dot gnu dot org>
Hi,
On Sat, 23 Jun 2001, Gordon Sadler wrote:
> I know it looks ridiculous, but it is a real example. There appears to
> be code in kdebase/libtool to try to prevent/deal with linking libs
> multiple times.
(I see you use gcc 3.0, that's not, errh, supported from KDE (Argh. I
shouldn't say this on gcc@ ;-) For older gcc this works as expected.)
> Is this more likely a kdebase/libtool issue or a gcc/g++ issue?
A bit of both. libtool is supposed to only keep multiple libs, if they
were given explicitely on a command line. Obviously this mechanism is
confused by the presence of -lgcc_s in gcc's -v output. Hmm, I'm not
sure, but isn't it time for libtool to disable that -v/-nostdlib
cleverness alltogether for g++, and let g++ simply do the right thing (I
mean this even now needs disabling e.g. on *BSD because of the libc_r
issue).
Ciao,
Michael.