On Fri, Aug 25, 2000 at 05:26:39PM -0300, Alexandre Oliva wrote:
> On Aug 25, 2000, Michael Matz <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > On Fri, 25 Aug 2000, Gary V. Vaughan wrote:
> >>
> >> A pragmatic approach might be:
> >>
> >> case $arg in
> >> .
> >> -LANG:*) continue ;;
> >> -L*)
>
> > Yep, although I've done the ANG: case in -L conditionalized on $host
> > beeing *-*-irix. Note also, that SGI's CC also recognizes -LIST: and
> > -LNO:. They must have been crazy.
>
> How about:
>
> -L[A-Z][A-Z]*:*) continue ;;
>
> This wouldn't match DOS drive names, which is the only reasonably
> situation in which a colon would appear after -L.
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?
case $arg in
.
.
.
-L*)
case $host/$arg in
*-*-irix*/-L[A-Z][A-Z]*:*) continue ;;
esac
...
;;
.
.
.
esac
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