bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping ‘-B’ link flags


From: Ludovic Courtès
Subject: Re: Keeping ‘-B’ link flags
Date: Tue, 18 May 2010 10:49:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hello Ralf,

Thanks to Bob and you for your quick reply!

Ralf Wildenhues <address@hidden> writes:

> * Ludovic Courtès wrote on Tue, May 18, 2010 at 01:26:58AM CEST:
>> In ‘link’ mode ‘libtool’ swallows GCC ‘-B’ arguments.  How can it be
>> worked around?  Using $GCC_EXEC_PREFIX doesn’t help because it’s too
>> coarse-grain.
>
> The same way as with other link flags: using '-Wc,' or using '-Xcompiler '
> or adding -B to $CC during configure already.

Oh, right.  The former means that the LDFLAGS for ‘configure’ need to be
different, though (because libtool isn’t used yet.)

> We should probably allow -B through though, but I'm not sure if libtool
> needs adjusting elsewhere for it.  Putting it in $CC seems safest.

I can’t think of a good reason to drop ‘-B’, but then I don’t what the
implications of letting it through would be.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]