[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20050824: Building on IRIX



Unidata Support <address@hidden> writes:

> ------- Forwarded Message
>
>>To: address@hidden
>>From: Atro Tossavainen <address@hidden>
>>Subject: Building on IRIX
>>Organization: the University of Helsinki
>>Keywords: 200508240855.j7O8tgjo010189 netCDF IRIX MIPSpro
>
> Hello,
>
> Have you been successful in building netCDF 3.6.0-p1 on IRIX with the
> MIPSpro compilers?
>
> I am unable to build the C++ parts.  The configure script says it is
> unable to compile the standard test program:
>
> checking C++ compiler "CC"... configure: WARNING: CC failed on standard C++ 
> test program
>
> This is the 7.3 version of the MIPSpro compilers.
>
> The relevant bit from config.log:
>
> configure:3788: CC -o conftest -g   conftest.cc  >&5
> cc-1035 CC: WARNING File = /usr/include/CC/iostream, Line = 18
>   #error directive:  This header file requires the -LANG:std option
>
>   #error This header file requires the -LANG:std option
>    ^
>
> Setting CXXFLAGS="-LANG:std" makes the error go away.  Just thought
> you ought to know and perhaps to make this the default on SGI
> builds.


I have added this to the web notes on successful builds. Thanks.

Oddly, on my Irix here, running version 7.4.3m, it seems to work
without this option.

Thanks!

Ed
-- 
Ed Hartnett  -- address@hidden