libtool-patches
[Top][All Lists]
Advanced

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

Re: allow specific flags through to the linker without modification


From: Benjamin Reed
Subject: Re: allow specific flags through to the linker without modification
Date: Thu, 08 May 2003 14:38:27 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3; StumbleUpon.com) Gecko/20030504

Boehne, Robert wrote:

Peter,

I think this should be doable with -XCompiler, -Xlinker and -XCClinker.
From the manual:
  You can pass link specific flags to the compiler driver using `-XCClinker 
flag'
  or pass linker flags with `-Wl,flag' and `-Xlinker flag'.  You can also pass
compile specific flags using `-Wc,flag' and `-Xcompiler flag'.
The intent is to allow anything that a user might want to have on the
compiler driver's invocation to be possible.  Can what you want to
achieve be done this way?

That seems reasonable to me, but I do think *something* needs to change, the current behaviour is very confusing. Libtool seems to just drop options on the ground, and unless you're watching the libtool output it's not immediately obvious until something breaks.

Perhaps there should at least be a patch to make libtool warn when it's ignoring options?





reply via email to

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