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

Re: NetCDF compile help



Brett,

>Date: Fri, 12 Mar 1999 13:18:12 -0500 (EST)
>From: "Brett E. McDonald" <address@hidden>
>Organization: NOAA
>To: address@hidden
>Subject: NetCDF compile help
>Keywords: 199903091419.HAA04342

In the above message, you wrote:

> Thanks for your help on debugging my compiling of NetCDF.

You're welcome.

> I changed the C compiler from /opt/anisc/bin/cc to /opt/ansic/bin/c89
> and things now magically worked.
> 
> However, I get errors running "make" when the cxx part comes up.
> Before I include any of the error messages, I was wondering if you
> could describe to me the differences between cc, c89, and c++.

    cc is a C compiler; it might or might not conform to the C standard.

    c89 is the POSIX name for the C compiler that conforms to the C
    standard.

    c++ is a C++ compiler;  it might or might not conform the the C++
    standard.

> I'm
> unclear as to what compiler I should be using for the environment
> variable CXX.

According to the HP-UX B.10.20 example in the INSTALL file, you should
set the environment variable CXX to the value "/usr/bin/CC".

Unless you have good reason not to, you really should follow the
examples in the INSTALL file.

--------
Steve Emmerson   <http://www.unidata.ucar.edu>