Re: CVS libtool incompatability with IRIX compiler

2000-08-26 Thread Gary V. Vaughan
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 t

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Albert Chin-A-Young
On Sat, Aug 26, 2000 at 12:09:14AM +0100, Gary V. Vaughan wrote: > 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:

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Bob Friesenhahn
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 = -LAN

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Gary V. Vaughan
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*) > > >

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Alexandre Oliva
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. No

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Michael Matz
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 mu

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Alexandre Oliva
On Aug 25, 2000, "Gary V. Vaughan" <[EMAIL PROTECTED]> wrote: > In principle this seems like a good idea... but is libtool ever going > to have to deal with `libANG:whatever.la'?? Or ANG:foo/bar? Well, since this can't be used portably, there's not much point in our trying to support it on any

Re: CVS libtool incompatability with IRIX compiler

2000-08-25 Thread Gary V. Vaughan
On Fri, Aug 25, 2000 at 12:49:29AM -0300, Alexandre Oliva wrote: > On Aug 24, 2000, Michael Matz <[EMAIL PROTECTED]> wrote: > > >> If libtool understood -LANG:std, one less thing for the authors to > >> deal with. > > > Yep, I also like this solution most, even if this means a very special > > c

Re: CVS libtool incompatability with IRIX compiler

2000-08-24 Thread Alexandre Oliva
On Aug 24, 2000, Michael Matz <[EMAIL PROTECTED]> wrote: >> If libtool understood -LANG:std, one less thing for the authors to >> deal with. > Yep, I also like this solution most, even if this means a very special > case in ltmain. Maybe we shouldn't make it a special case. How about creating

Re: CVS libtool incompatability with IRIX compiler

2000-08-24 Thread Michael Matz
Hi, On Thu, 24 Aug 2000, Albert Chin-A-Young wrote: > > > > Ok, thanks. However, this raises another problem. > > > > CXXFLAGS="-Wc,-LANG:std" won't work as the configure tests to make > > > > sure CC works will fail. > > > > > > You'd have to add this flag to LDFLAGS (since it's only to be used

Re: CVS libtool incompatability with IRIX compiler

2000-08-24 Thread Albert Chin-A-Young
On Wed, May 03, 2000 at 12:48:30AM -0500, Albert Chin-A-Young wrote: > On Wed, May 03, 2000 at 02:36:52AM -0300, Alexandre Oliva wrote: > > On May 3, 2000, Albert Chin-A-Young <[EMAIL PROTECTED]> wrote: > > > > > Ok, thanks. However, this raises another problem. > > > CXXFLAGS="-Wc,-LANG:std" wo

Re: CVS libtool incompatability with IRIX compiler

2000-05-02 Thread Albert Chin-A-Young
On Wed, May 03, 2000 at 02:36:52AM -0300, Alexandre Oliva wrote: > On May 3, 2000, Albert Chin-A-Young <[EMAIL PROTECTED]> wrote: > > > Ok, thanks. However, this raises another problem. > > CXXFLAGS="-Wc,-LANG:std" won't work as the configure tests to make > > sure CC works will fail. > > You'd

Re: CVS libtool incompatability with IRIX compiler

2000-05-02 Thread Alexandre Oliva
On May 3, 2000, Albert Chin-A-Young <[EMAIL PROTECTED]> wrote: > Ok, thanks. However, this raises another problem. > CXXFLAGS="-Wc,-LANG:std" won't work as the configure tests to make > sure CC works will fail. You'd have to add this flag to LDFLAGS (since it's only to be used at link time; at

Re: CVS libtool incompatability with IRIX compiler

2000-05-02 Thread Albert Chin-A-Young
On Wed, May 03, 2000 at 02:20:51AM -0300, Alexandre Oliva wrote: > On May 3, 2000, Albert Chin-A-Young <[EMAIL PROTECTED]> wrote: > > > On Tue, May 02, 2000 at 11:10:32PM +0100, Gary V. Vaughan wrote: > >> On Sat, Apr 22, 2000 at 09:53:42AM -0500, Bob Friesenhahn wrote: > > >> This is a known p

Re: CVS libtool incompatability with IRIX compiler

2000-05-02 Thread Alexandre Oliva
On May 3, 2000, Albert Chin-A-Young <[EMAIL PROTECTED]> wrote: > On Tue, May 02, 2000 at 11:10:32PM +0100, Gary V. Vaughan wrote: >> On Sat, Apr 22, 2000 at 09:53:42AM -0500, Bob Friesenhahn wrote: >> This is a known problem with a workaround: when building the libtool >> compile line, you sho

Re: CVS libtool incompatability with IRIX compiler

2000-05-02 Thread Albert Chin-A-Young
On Tue, May 02, 2000 at 11:10:32PM +0100, Gary V. Vaughan wrote: > On Sat, Apr 22, 2000 at 09:53:42AM -0500, Bob Friesenhahn wrote: > > The IRIX C/C++ compiler accepts aguments of the form "-LANG:std". > > Options of this form must be specified in order to compile and link > > C++ code, and possib

Re: CVS libtool incompatability with IRIX compiler

2000-05-02 Thread Gary V. Vaughan
On Sat, Apr 22, 2000 at 09:53:42AM -0500, Bob Friesenhahn wrote: > The IRIX C/C++ compiler accepts aguments of the form "-LANG:std". > Options of this form must be specified in order to compile and link > C++ code, and possibly strict ANSI code. Unfortunately, libtool > parses these options as be

CVS libtool incompatability with IRIX compiler

2000-04-22 Thread Bob Friesenhahn
The IRIX C/C++ compiler accepts aguments of the form "-LANG:std". Options of this form must be specified in order to compile and link C++ code, and possibly strict ANSI code. Unfortunately, libtool parses these options as being linker path options and does not supply them properly to the compiler