On Fri, Aug 25, 2000 at 08:52:55PM -0500, Bob Friesenhahn wrote:
> On Sat, 26 Aug 2000, Gary V. Vaughan wrote:
> >
> > Sounds good to me. In order to not penalise IRIX developers, I guess
> > libtool should continue to discard -LANG:foo and friends, except on
> > IRIX. That would make it safe to add the following to your Makefile.am:
> >
> > libfoo_la_LIBADD = -LANG:std
> >
> > Following this principle through to its logical conclusion, do we also
> > need to discard these flags on IRIX when GNU ld is the linker?
>
> Now we are going overboard a bit. It is better to insert something
> for a particular platform rather than add everything for all platforms
> and take away what is not needed.
I dunno. The alternative is another libtool macro to probe whether
the compiler needs -LANG:std -- and that not only slows libtool down a
bit more for everyone, but doesn't solve the problem of the other
-L[A-Z][A-Z]*:* cases on IRIX. I still think this is the right solution.
My question was whether to discard the flag (even on IRIX) when using
GNU ld -- I guess we should...
Cheers,
Gary.
--
___ _ ___ __ _ mailto: [EMAIL PROTECTED]
/ __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ [EMAIL PROTECTED]
| (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \
\___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/
home page: /___/ /___/ gpg public key:
http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/key.asc