Installation


The gd export package comprises main and auxiliary executables,
documentation and examples. It can be obtained from  
GSI's ftp server or from
here.

The package is organized and installed as follows. UNIX/Linux/Mac Systems Available as a tar'ed and compressed archive (Note that for Mac systems Apple's X11 package must be installed as well). Contents: README.unix this text. HELP/ documentation in HTML format. BIN/ executables: GD gd executable gd Shell script to call different gd versions. Also sets the necessary LD_LIBRARY_PATH which is needed for the dynamic loading of external user fit functions. fitfct Basic shell script to compile and link user function gdfitfct Convenience shell script to compile and link user function gdpath Auxiliary shell script to set version dependent path. 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: mkdir GD cd GD uncompress GD.xxxx.tar.Z tar -xvf GD.xxxx.tar Then place the following three lines in your user profile or some other central place: export GD=~/GD export PATH=$GD/BIN:$PATH Additional assignments ( $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 this selection change/add the assignments in the user profile, e.g. export GDNEW=~/GD0112g export PATH=$GDNEW/BIN:$PATH 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