In order to compile the Pascal programs, you will need the Free Pascal Compiler
I recommend downloading the 32 bit for Windows whether you have 32 bit or 64 bit. Once you download, run the installer. It will install Free Pascal on your computer.
Check that the compiler is in your path for the cmd prompt. Adjust the following accordingly.
set path=C:\FPC\2.6.4\bin\i386-Win32;%path%
In order to compile a pascal program, execute the following command from the cmd prompt. This assumes that the source is in the same folder.
c:\Users\brian\src> fpc Appliance.pas
It will produce an .exe. Run this from the cmd prompt too.
Install the Free pascal compiler. The package is often known as fpc
sudo apt-get install fpc
or
sudo yum install fpc
Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
Appliance.exe | 2016-02-06 12:46 | 32K | ||
Appliance.pas | 2016-02-06 12:46 | 1.2K | ||
HEADER.html | 2016-02-06 12:52 | 932 | ||
PaintEstimator.exe | 2016-02-06 12:46 | 39K | ||
PaintEstimator.pas | 2016-02-06 12:46 | 2.8K | ||
Swap.exe | 2016-02-06 12:46 | 32K | ||
Swap.pas | 2016-02-06 12:46 | 576 | ||
problem09.txt | 2016-02-06 12:46 | 3.5K | ||
readme.html | 2016-02-06 12:52 | 932 | ||
readme.md | 2016-02-06 12:52 | 848 | ||
swapit.txt | 2016-02-06 12:46 | 723 | ||