Installation
The gd export package comprises main and auxiliary executables,
documentation and examples. It can be obtained from
here.
The package is organized and installed as follows.
UNIX/Linux/Mac OSX Systems
Available as a tar'ed and compressed archive (Note that for Mac systems Apple's X11 package must be installed as well).
Contents:
HELP/ documentation in HTML format.
BIN/ executables:
GD gd executable
gd Shell script to call different gd versions.
fitfct Basic shell script to compile and link user function
gdfitfct Convenience shell script to compile and link user function
INCLUDE/ include headers
fitusr.h header file for user fit function
EXAMPLES/ examples
usrfct.c sample user fit function
... example files
It is recommended to keep all gd-related files in a single directory GD apart from the root file system.
To install, for example in some directory GDHOME:
mkdir GDHOME
cd GDHOME
uncompress GD.xxxx.tar.Z
tar -xvf GD.xxxx.tar
Then place the following in your user profile or some other central place:
export GDHOME=<path-to>/GDHOME
export PATH=$GDHOME/BIN:$PATH
Additional assignments ( $GDDOC, $GDTUT ) are performed within the gd script.
The gd shell script
supports versioning via additional keywords:
gd old old version
gd production version
gd new new version
gd test test version
To enable this selection scheme, create subdirectories for the different versions and organize the installation directory as follows:.
$GDHOME/9712i
$GDHOME/9712h
$GDHOME/9712g
...
Then place convenient symbolic links:
cd $GDHOME
ln -s 9712i TEST
ln -s 9712i NEW
ln -s 9712h PRO
ln -s 9712g OLD
export PATH=$GDHOME/NEW/BIN:$PATH
Whenever a new version is installed, just update the links.
Amiga Systems
Available as a self-extracting LhA archive.
Contents:
README.amiga this text.
HELP/ documentation in AmigaGuide and HTML format.
C/ executables:
GD030881 gd for use with 68020/68881,68030/68882,68040,68060 systems.
It won't run on non-FPU systems.
GD060881 gd for use with 68060 (FPU) systems.
It probably won't run on lower systems.
GD000FFP gd for use with the FFP math libraries. Suited for non-FPU systems.
Limited to numbers 1E-19..1E+19 and 6 digits precision.
GD000IEEE gd for use with the IEEE math libraries. Suited for non-FPU systems.
Limited to numbers 1E-308..1E+308 and 16 digits precision.
gd Shell script to call different gd versions.
Recommended for starting gd
fitfct Basic shell script to compile and link user function
gdfitfct Convenience shell script to compile and link user function
fitfct.rexx ReXX procedure to compile and link user function
gdpath Auxiliary shell script to set version dependent path.
whichcpu Auxiliary program to determine CPU type
whichfpu Auxiliary program to determine FPU type
LIBS/ shared libraries
INCLUDE/ include headers
fitusr.h header file for user fit function
EXAMPLES/ examples
usrfct.c sample user function
... example files
It is recommended to keep all gd-related files in a single directory
apart
from the system partition, e.g. work:GD
To install:
cd work:
makedir GD
cd GD
GD.amiga.run
Then place the following lines in the file S:user-startup
assign GD: work:GD
setenv GD work:GD
path C: GD:C add
path REXX: GD:C add
Additional assignments ( GDLIBS:, GDDOC:, GDTUT: ) are performed within the gd script.
The gd shell script
supports versioning via additional keywords and respective locations (GDOLD:, GDNEW:):
gd old old version
gd production version
gd new new version
To enable these selections change/add the assignments in the start-up file, e.g.
assign GDNEW: work:GD0112g
setenv GDNEW work:GD0112g