|
|
|
|
SUGGESTED STEPS FOR GETTING FREE PASCAL
-
Follow the links
Free
Pascal Home Page
-->
Download (in the side bar)
-->
A site from which to download Free Pascal, for example,
Current site
-
Choose an appropriate operating system.
Mr. Rao chose
Win32;
you might choose
Linux.
The remaining instructions are for the Win32 install.
The instructor or the GTA can help with the Linux install
during office hours.
-
Select the
w32100.zip version
(version that does not include the sources, gdb,
and the gnu utils).
-
Save it to the temporary folder (C:\Temp).
-
Unzip w32100.zip in the temporary folder (C:\Temp).
-
Launch Install.exe.
-
The compiler installs in the directory:
'C:\pp'
Please make sure that the directory name does not have spaces embedded.
DO NOT install in C:\Program Files\pp!
-
After installation,
add C:\pp\bin\win32 to the PATH variable.
-
Open a command shell, and change to directory C:\pp\source\demo\win32.
-
Compile winhello.pp,
using the command 'ppc386 winhello.pp',
without quotes.
-
Execute winhello.exe to verify that your
installation is correct.
-
Send email to heath@cs.vt.edu
if you find errors in this procedure
or if you have serious difficulty installing Free Pascal by this
procedure.
You may prefer to see the instructor or the GTA during office hours.
USEFUL LINKS FOR PASCAL
THESE SAMPLE PROGRAMS ARE PROVIDED FOR YOUR CONVENIENCE
IN TESTING YOUR INSTALLATION OF PASCAL
Sample Programs |
Language | Name |
File |
Pascal | Body Mass Index |
bmi.pp |
C++ | Body Mass Index |
bmi.cpp |
|