This is the mail archive of the gcc@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]

Re: Extremely(!) long command lines with g++-3.0


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]