[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20030210: Compile ldm-mcidas-7.8.0 on a RedHat Linux 8.0 i386 machine (cont.)
- Subject: 20030210: Compile ldm-mcidas-7.8.0 on a RedHat Linux 8.0 i386 machine (cont.)
- Date: Mon, 10 Feb 2003 16:01:18 -0700
>From: Eirh-Yu Hsie <address@hidden>
>Organization: Aeronomy Laboratory/NOAA
>Keywords: 200302071859.h17IxF602516 ldm-mcidas RedHat 8.0
>Hello, Tom:
>I found out what the problem was. I have problem building netCDF 3.5.0 with
>gcc and g++:
>
>setenv CC gcc
>setenv CXX g++
OK. You should be able to build ldm-mcidas linking against the version
of netCDF built with McIDAS.
>The c++ interface always fails. So I change the compiler (Portland Group
>Version 4.0):
>
>setenv CC pgfcc
setenv CXX pgCC
>
>It compiles fine, but I have problem when I compile other program with gcc and
>link with the pgcc generated library (libnetcdf.a).
I am not suprised by this.
>I would very like to know how Unidata compile NetCDF c++ interface in RedHat
>8.0.
I believe that you need to grab the LDM 3.5.1 beta (or above) to be
able to build the C++ interface using GCC 3+ (RedHat 8.0 comes with
such a version of GCC).
>In the McIDAS case, you do not compile NetCDF c++ interface (CXX is
>empty).
That's right, my recommendations for building McIDAS is to define CXX
to be blank so the C++ interface will not be built (McIDAS doesn't need
that interface, so why build it).
I am at the AMS show right now, so I have to run...
Tom