bug-libtool
[Top][All Lists]
Advanced

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

Re: Additional link flags for HP aCC and SGI CC


From: Bob Friesenhahn
Subject: Re: Additional link flags for HP aCC and SGI CC
Date: Tue, 24 Aug 2004 09:07:16 -0500 (CDT)

On Tue, 24 Aug 2004, Ludovic Courtès wrote:

Hello,

Today, 6 minutes, 10 seconds ago, Gary V.Vaughan wrote:
I couldn't find -Xcompiler or -Wc in the manual...

In 1.5.6's manual, it is documented in the "Compile mode" node (in
"Invoking libtool").

But there is also -Xcompiler for these cases.  Remember that libtool is
supposed to hide platform specific concerns, and if we started adding
specific support for particular compiler switches, libtool would soon
have no advantage over using the compiler directly for developers who
want to provide a package that compiles on several hosts.

Well, libtool already accumulates knowledge about various compilers,
linkers and so on.  So adding such switches can be seen as teaching it
about useful things it should be aware of.  ;-)

Unfortunately, these switches tend to vary between compiler releases so it would be very difficult for libtool to know the valid switches for the compiler you are using. If a package has been released for several years, the compiler options its libtool chooses to use may not work at all with the current version of the compiler. That is why it is best for the end-user to take care of part of the heavy-lifting.

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

reply via email to

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