You are on page 1of 1

USER PROGRAMMING

In order to create user programs it is necessary to install the GNU FORTRAN and
C/C++ or DELPHI PASCAL compiler.
Included on the IntPetro CD is a copy of GNU compilers downloaded from : ftp://f
tp.xraylith.wisc.edu/pub/khan/gnu-win32/mingw32/gcc-2.95.2/gcc-2.95.2-crtdll.exe
This compiler is available free of charge and is provided on the IntPetro CD onl
y as a convenience to users. More information and licensing documents can be fou
nd at the GNU website www.gnu.org.
To install the compiler, run the executable gcc-2.95.2-crtdll.exe, found in the
'GNU FORTRAN and C' folder on the IntPetro CD. Once the files are installed you
need to add the following line to the AUTOEXEC.BAT file :
PATH=C:\GCC-2.95.2\BIN;%PATH%
Where C:\GCC-2.95.2 is the directory where the compiler has been installed.
Under Windows 2000 it may be necessary to create the AUTOEXEC.BAT file in the ro
ot directory of the C: drive if it does not already exist. The computer will nee
d to be rebooted in order to see this file.
On some Windows 2000 PC's it may be necessary to add the program location in the
Path variable of the operating system. To do this:-
1. Click on 'Start' and go to Settings/Control Panel/System.
2. Click on Advanced tab in the 'System Properties' window.
3. Select 'Path' from the Environment Variables in the lower half of the 'Enviro
nment Variables' window, and click 'Edit'.
4. The 'Edit System Variable' window which opens up, shows in the 'Variable Valu
e' box the last few words of the entire Path variable. Add a ; at the end of the
existing Path and add C:\GCC-2.95.2\BIN .

You might also like