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 problem with a workaround:  when building the libtool
> >> compile line, you should use -Wc,-LANG:std
> 
> > I don't think it is so simple. The comments below pertain only to IRIX
> > C++ 7.3.1.1m. This compiler des not understand -Wc.
> 
> It's libtool that understands -Wc, and -Xcompiler and strips them off
> when invoking the compiler driver for linking shared libraries.

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. The SGI CC compiler fails with -Wc:
  checking whether the C++ compiler (CC -Wc,-LANG:std -Wl,-woff,84  )
works... no
  configure: error: installation or configuration problem: C++ compiler
  cannot create executables.

How do I solve this problem? I'd hate to have to modify Makefile or
libtool after the fact.

-- 
albert chin ([EMAIL PROTECTED])

Reply via email to