this requires the free pascal compiler located at: http://www.freepascal.org/ the fpc can also be downloaded directly from: free pascal downloads
you must add this path to your .bashrc (or .zshrc) file:
export PATH=/usr/local/bin:$PATH
name your files with the extension:
*.pas
to compile the program run:
fpc filename.pas
to name the executable from your program type what you want in the 'xxx' spot:
fpc filename.pas -oxxx
before the program can be run on an old IBM computer it must be converted into a readable format by addint the carriage return character. do do this run the convert script:
./convert filename
or
./convert fiulepath/filename
- GNU sed - brew install gsed
- GNU utils - brew install coreutils
- the free pascal compiler - http://www.freepascal.org/