[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Additional link flags for HP aCC and SGI CC
From: |
Gary V. Vaughan |
Subject: |
Re: Additional link flags for HP aCC and SGI CC |
Date: |
Tue, 24 Aug 2004 15:40:51 +0100 |
User-agent: |
Mozilla Thunderbird 0.7 (X11/20040615) |
Salut Ludovic,
Gary V. Vaughan wrote:
>>Ok. I didn't know moving such higher-level features into Libtool was
>>planned since there are currently mostly generic features. I also
>>thought this would go way beyond the goal of a "generic library support
>>script".
>
> Well, that's true too. There is a fine line to walk here, and we need
> to be careful not to clutter libtool's interface when say, simply passing
> -Os through to the compiler and linker is a perfectly good solution.
I can describe the line a bit better than that:
If a compiler or linker option is something that the user is likely to
want to set at configure time, then libtool need only take care of getting the
options to the appropriate compiler/linker command it eventually calls:
./configure CPPFLAGS='-I/usr/local/include CFLAGS='-O2 -march=v8'
LDFLAGS='-L/usr/local/lib'.
The other side of the line is where a package developer needs to hardcode
options into their Make rules in order to enable particular features in
their software. In this case libtool strives to provide a high level,
cross platform abstraction that pass the right flags to whatever compiler
and linker it is calling: libtool -no-undefined -module.
Cheers,
Gary.
--
Gary V. Vaughan ())_. address@hidden,gnu.org}
Research Scientist ( '/ http://tkd.kicks-ass.net
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
signature.asc
Description: OpenPGP digital signature
- Link flags for aCC on HP-UX, Ludovic Courtès, 2004/08/11
- Additional link flags for HP aCC and SGI CC, Ludovic Courtès, 2004/08/23
- Re: Additional link flags for HP aCC and SGI CC, Gary V. Vaughan, 2004/08/23
- Re: Additional link flags for HP aCC and SGI CC, Ludovic Courtès, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Gary V . Vaughan, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Ludovic Courtès, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Gary V. Vaughan, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Ludovic Courtès, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Gary V. Vaughan, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC,
Gary V. Vaughan <=
- Re: Additional link flags for HP aCC and SGI CC, Bob Friesenhahn, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Ludovic Courtès, 2004/08/25
- Re: Additional link flags for HP aCC and SGI CC, Gary V. Vaughan, 2004/08/25
- Re: Additional link flags for HP aCC and SGI CC, Bob Friesenhahn, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Bob Friesenhahn, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Gary V. Vaughan, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Bob Friesenhahn, 2004/08/24
- Re: Additional link flags for HP aCC and SGI CC, Bob Friesenhahn, 2004/08/24