Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

20020725: xgks for linux



James,

>Date: Tue, 23 Jul 2002 16:14:25 -0700
>From: "Doyle, James" <doyle@xxxxxxxxxxxxxxx>
>Organization: Naval Research Laboratory
>To: "'steve@xxxxxxxxxxxxxxxx'" <steve@xxxxxxxxxxxxxxxx>
>Subject: xgks for linux
>Keywords: 200207232314.g6NNEU915273

The above message contained the following:

> Are you aware whether anyone has ported xgks to linux.  We've tried to port
> the xgks-2.5.5 code to linux  but have run into a number of errors.
> Perhaps someone has already solved these problems (hopefully).

The main problem is lack of the file port/fortc/linux.m4.  I've enclosed
a copy.

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

divert(-1)

# Name of system platform (for use in comments)
define(`M4__SYSTEM', Linux)

# transformation from fortran name to name of C module.  Append an extra
# underscore if the name contains an underscore.
define(`NAMEF',`ifelse(index($1,_),-1,$1_,$1__)')

define(`REALX',`')
define(`INTEGERX',`')
define(`FUNCTIONX',`')
define(`DOUBLEX',`')

# transformation from string name to corresponding argument name
define(`STRINGF',`$1')

# extra arguments, if any, for string length
define(`STRINGX',`, $1_len')  # one extra stringlen parameter

# declaration to be used for argument name descriptor
define(`STRINGD',`
    char	*$1;	`$2'
    int		$1`'`_len';') # declare argument string with extra stringlen parameter

define(`STRINGP',`
    char      *$1')
define(`STRINGPX',`,
    int        $1_len')

# declarations and initializations of canonical local variables
define(`STRINGL',`')

# FORTRAN declaration for a long integer (e.g. integer*4 for Microsoft)
define(`LONG_INT',`integer')

# FORTRAN declaration for a short integer (e.g. integer*2)
define(`SHORT_INT',`integer*2')

# FORTRAN declaration for an integer byte (e.g. integer*1 or byte)
define(`BYTE_INT',`byte')

# FORTRAN declaration for single precision
define(`SINGLE_PRECISION',`real')

# FORTRAN declaration for double precision (e.g. real for a Cray)
define(`DOUBLE_PRECISION',`double precision')

divert(0)dnl

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690