Installing Free Pascal is unnecessary as it is available under Windows and Linux in the undergraduate Lab (McBryde 116/118 and 124). In Windows, it is installed at S:\\pp\bin\win32, which can be accessed by Start -> Course Software -> CS3304 -> Free Pascal 1.0.6. Note that although the label on the menu item is Free Pascal 1.0.6, the version installed is actually 1.0.10. In Linux, Free Pascal is installed at /usr/local/bin/fpc on the following computers, which live in McBryde 124, but are all available remotely via ssh.
Grab the distribution from links above, or visit the Free Pascal Download Page (or one of its mirrors).
Choose an appropriate operating system and follow the instructions for installation under Windows or Linux. The remaining instructions are for a Windows installation. The instructor or GTA can help further with the Linux install during office hours.
Select the most recent version (currently w321010.zip) which does not include the sources, gdb, and the gnu utilities.
Save it to a temporary folder of your choice.
Unzip w321010.zip
in the temporary folder.
Launch Install.exe
.
The compiler installs in the directory you specify (
C:\pp
by default). If you specify a different location,
please make sure that the directory name you use does not include any
spaces.
DO NOT install in C:\Program Files\pp!
After installation, add C:\pp\bin\win32
to the PATH
environment variable (replace C:\pp
with whatever install
location you used). For Windows 2000 and Windows XP users,
Go to Start Menu->Settings->Control Panel->System. Click on
the Advanced tab, then press the "Environment Variables ..." button.
Make the change under "System variables" if you want all user
accounts on your machine to have Pascal in their search path,
or under "User variables for ..." to affect your account only.
Open a command shell, and change to directory
C:\pp\demo\win32
(replace C:\pp
with whatever install location you used).
Compile winhello.pp
,
using the command 'fpc winhello.pp
',
without quotes.
Execute winhello.exe
to verify that your
installation is correct.
Contact the GTA or instructor if you find errors in this procedure or if you have serious difficulty installing Free Pascal by this procedure.