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
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to