CS 3304 Pascal Resources

SUGGESTED STEPS FOR GETTING FREE PASCAL

  1. Follow the links Free Pascal Home Page -->
    Download (in the side bar) -->
    A site from which to download Free Pascal, for example, Current site

  2. 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.

  3. Select the w32100.zip version (version that does not include the sources, gdb, and the gnu utils).

  4. Save it to the temporary folder (C:\Temp).

  5. Unzip w32100.zip in the temporary folder (C:\Temp).

  6. Launch Install.exe.

  7. 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!

  8. After installation, add C:\pp\bin\win32 to the PATH variable.

  9. Open a command shell, and change to directory C:\pp\source\demo\win32.

  10. Compile winhello.pp, using the command 'ppc386 winhello.pp', without quotes.

  11. Execute winhello.exe to verify that your installation is correct.

  12. 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
LanguageName File
PascalBody Mass Index bmi.pp
C++Body Mass Index bmi.cpp
                                                                                                                                                                 

copyright © 2000 Virginia Tech, ALL RIGHTS RESERVED
Last modified: October 25, 2000, 08:11:41 EDT, by Lenwood S. Heath <heath@cs.vt.edu>