|
From: | Bob Friesenhahn |
Subject: | Re: Additional link flags for HP aCC and SGI CC |
Date: | Tue, 24 Aug 2004 09:40:57 -0500 (CDT) |
On Tue, 24 Aug 2004, Ludovic Courtès wrote:
script". Libtool options like `--cxx-flags=std,local-template', `--multi-thread', `--abi=32' (although this one is very platform specific anyway since `--abi=mips2' wouldn't make much sense on IA32), or even things like `--warnings=2', `--optimization=3' and so on would be very cool. For common options, another solution would be to let the user use GCC-like switches (eg. `-O2', `-Wall') which would then be converted into the target compiler switches. What do you think?
While convient for package developers and users, libtool is brittle and difficult to maintain as it is. Therefore, I think it would be a very bad idea to do this within libtool. It is best left as an Autoconf macro maintained seperate from Autoconf itself.
All options should be seen across the entire Autoconf configure execution. It would not make sense for the libtool portion of the configure script to start adding options after Autoconf has already declared the compiler "sane".
Bob ====================================== Bob Friesenhahn address@hidden http://www.simplesystems.org/users/bfriesen
[Prev in Thread] | Current Thread | [Next in Thread] |