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

20050519: UDUNITS - compiling problems



Julie,

> Date: Thu, 19 May 2005 03:49:59 -0600 (MDT)
> To: support-udunits:@laraine.unidata.ucar.edu
> Subject: UDUNITS - compiling problems
> Organization: University of East Anglia

The above message contained the following:

> Institution: University of East Anglia
> Package Version: 1.12.4
> Operating System: suse 9.1
> Hardware Information: amd64 opteron
> Inquiry: Hi,
> 
> can you tell me what flags I need to compile on amd64 (opteron) using either
> gcc or portland group compilers.

I don't have access to such a system here, but I recommend trying the
following environment variable settings:

    CPPFLAGS='-DNDEBUG -Df2cFortran'
    CC=gcc
    CFLAGS='-O -fno-builtin'
    PERL=/usr/bin/perl

You might need to adjust the value of the PERL variable.  You can also
set it to the empty string to omit building the perl(1) interface.

> Thanks

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.