* RE: Compaq Compilers and GMT
[not found] <200009272250.KAA04289@coll.must-have-coffee.gen.nz>
@ 2000-09-27 23:23 ` John Helly
0 siblings, 0 replies; 2+ messages in thread
From: John Helly @ 2000-09-27 23:23 UTC (permalink / raw)
To: Lloyd Parkes; +Cc: gmthelp, axp-list
Hi.
Actually, as I should have said, I am running RH Linux 6.2. The compiler is
ccc-6.2.9.002-2.
I am grateful for any help you can provide. Please note that this is the
file I used for the cc/gcc compile; not the ccc.
cheers.
#---------------------------------------------------------------------------
----
# @(#)makegmt.macros.in 3.21 07/13/00
#
# Standard Makefile Macro Setup for GMT 3.3.5
#
# Edit this file only, NOT the makefile itself.
#---------------------------------------------------------------
# The purpose of this section is to contain common make macros
# that should be processed by every execution of that utility.
#---------------------------------------------------------------
# POSIX shell. On some platforms it is not /bin/sh.
SHELL = /usr/bin/sh
# Installation Directories:
rootdir = /b2/apps/GMT3.3.5
prefix = /b2/apps/GMT3.3.5
exec_prefix = ${prefix}
srcdir = /b2/apps/GMT3.3.5/src
bindir = /b2/apps/GMT3.3.5/bin
libdir = /b2/apps/GMT3.3.5/lib
includedir = /b2/apps/GMT3.3.5/include
mandir = /b2/apps/GMT3.3.5/man
datadir = /b2/apps/GMT3.3.5/share
wwwdir = /b2/apps/GMT3.3.5/www
mansection = l
# Compiler, if $CC not set in environment
kali:/b2/apps/GMT3.3.5/src(9) cat makegmt.macros
#---------------------------------------------------------------------------
----
# @(#)makegmt.macros.in 3.21 07/13/00
#
# Standard Makefile Macro Setup for GMT 3.3.5
#
# Edit this file only, NOT the makefile itself.
#---------------------------------------------------------------
# The purpose of this section is to contain common make macros
# that should be processed by every execution of that utility.
#---------------------------------------------------------------
# POSIX shell. On some platforms it is not /bin/sh.
SHELL = /usr/bin/sh
# Installation Directories:
rootdir = /b2/apps/GMT3.3.5
prefix = /b2/apps/GMT3.3.5
exec_prefix = ${prefix}
srcdir = /b2/apps/GMT3.3.5/src
bindir = /b2/apps/GMT3.3.5/bin
libdir = /b2/apps/GMT3.3.5/lib
includedir = /b2/apps/GMT3.3.5/include
mandir = /b2/apps/GMT3.3.5/man
datadir = /b2/apps/GMT3.3.5/share
wwwdir = /b2/apps/GMT3.3.5/www
mansection = l
# Compiler, if $CC not set in environment
CC = cc
# Link flags if $LDFLAGS is not set in environment
LDFLAGS = -s
# Preprocessing:
CPP = cc -E
CPPFLAGS = $(INCLUDES) $(DEFINES)
#---------------------------------------------------------------------------
----
# Math library specification
# (Will most of the time be -lm, on Solaris -lsunmath -lm)
#---------------------------------------------------------------------------
----
#
LIBS = -lm
#
#---------------------------------------------------------------
# Misc. Standard Utilities:
#---------------------------------------------------------------
INSTALL = /usr/bin/install -c
AWK = mawk
AS = as
AR = ar
RANLIB = ranlib
CSH = csh
LD = ld
#---------------------------------------------------------------
# Misc. macros for Cygwin
# Normally empty, EXE=.exe and WIN32=_WIN32 under Cygwin
#---------------------------------------------------------------
#
EXE =
WIN32 =
#
#---------------------------------------------------------------
# Misc. macros for OS/2 with EMX support
# Otherwise set to @: (which does nothing)
#---------------------------------------------------------------
#
COMPRESS = @:
#
#---------------------------------------------------------------
# Required path to netcdf (with lib & include)
#---------------------------------------------------------------
#
NETCDF = $(NETCDFHOME)
#---------------------------------------------------------------
# Required path to GMT home (used as $GMTHOME by users)
#---------------------------------------------------------------
#
GMT_DEFAULT_PATH = $(prefix)
#
#---------------------------------------------------------------------------
----
# Compiler switches (set a total of one only)
#---------------------------------------------------------------------------
----
#
CC_OPT = -mieee
#
#---------------------------------------------------------------------------
----
# For your information, here are some CC_OPT options known to work on other
systems:
#CC_OPT = -O # Generic
#CC_OPT = -ieee_with_inexact -Olimit 1500 # Dec Alpha OSF
#CC_OPT = -O -Olimit 1500 # Dec VMS Ultrix
#CC_OPT = -mieee -O2 # Dec Alpha/Alpha PC Linux
#CC_OPT = -Aa +Ofltacc +O1 +Olibcalls # HPUX
#CC_OPT = -Daux -O # A/UX
#CC_OPT = -O -ansi -pedantic # Gnu gcc compiler
#CC_OPT = -O -Xc # Sun Solaris
#CC_OPT = -O -w # SGI IRIX
#CC_OPT = -O2 # IBM AIX
# FYI, here are some LDFLAGS options known to work on other systems:
#LDFLAGS = -s # Static link ,strip
executables
#LDFLAGS = -s -Wl,+b,$(libdir) +z # HPUX w/shared libs
#LDFLAGS = -s -Wl,-rpath,$(libdir) # Linux w/shared libs
#LDFLAGS = -s -Wl,-rpath,$(libdir) # SGI IRIX w/shared libs
#LDFLAGS = -s -Wl,-rpath,$(libdir) # Gnu gcc compiler w/shared
libs
#LDFLAGS = -s -Wl,-R$(libdir) # Sun Solaris w/shared libs
#---------------------------------------------------------------------------
----
# Linker switch for building shared libraries
# These are only made if GMTLIB is set to $(SHARED_LIB) below
# SunOS: -G HP-UX: -b Linux,IRIX: -shared
#---------------------------------------------------------------------------
----
#
LD_OPT =
#
#---------------------------------------------------------------------------
----
# Shared library file extension (.sl or .so, normally)
# Solaris, Linux: so HP, IRIX: sl
#---------------------------------------------------------------------------
----
#
SL = so
#
#---------------------------------------------------------------------------
----
# Set TRIANGLE_x = -DTRIANGLE_x to use Shewchuck's triangulation
routine
# where x = D and O. Default is to leave these empty.
#---------------------------------------------------------------------------
----
#
TRIANGLE_D = -DTRIANGLE_D
TRIANGLE_O = triangle.o
#
#---------------------------------------------------------------------------
----
# Set ALPHA_SINCOS_O = alpha-sincos.o under OSF1 on Dec Alphas to use
an
# assembler wrapper to call the alpha's funny sincos function
correctly.
#---------------------------------------------------------------------------
----
#
ALPHA_SINCOS_O =
#
#---------------------------------------------------------------------------
----
# Select STATIC (Default) or SHARED libraries
#---------------------------------------------------------------------------
----
#
GMTLIB = $(STATIC_LIB)
---------------------------------------------------------------------------
John Helly, University of California, San Diego
Sequoyah Hall (SEQ)/ San Diego Supercomputer Center
9500 Gilman Dr. Mail Code 0527
La Jolla CA 92093-0527
Phone: Voice +01 858 534 5060 / FAX +01 858 822 3631
Deliveries: 10100 Hopkins Drive, La Jolla, CA 92093
-----Original Message-----
From: Lloyd Parkes [mailto:lloyd@must-have-coffee.gen.nz]
Sent: Wednesday, September 27, 2000 3:50 PM
To: hellyj@sdsc.edu
Cc: gmthelp@soest.hawaii.edu; axp-list@redhat.com
Subject: Re: Compaq Compilers and GMT
What version of Tru64 are you using, and what version of the C compiler are
you using? Also, what is in your makegmt.macros file when you are using the
Compaq compilers.
Thanks
^ permalink raw reply [flat|nested] 2+ messages in thread