libtool
[Top][All Lists]
Advanced

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

Re: Compiler/Linker flags


From: Bob Friesenhahn
Subject: Re: Compiler/Linker flags
Date: Wed, 17 Jan 2007 12:47:31 -0600 (CST)

On Wed, 17 Jan 2007, Christopher Hulbert wrote:

It seems that libtool is set up to strip unrecognized flags unless
using something like -Wc,flag.  Can anyone give me a brief answer as
to why? I often find myself going through hoops to get flags past

The reason for the odd behavior is that libtool needs to know which options should be applied to the compiler, and which should be applied to the linker. Only libtool knows if the compiler is used for linking, or if the system linker is used to link. If the system linker is used to link, then only linker options are safe to apply.

Bob
======================================
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/





reply via email to

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