Compiler "Hello World" Files

Home >> Environment Monitoring Programs >> Compiler "Hello World" Files
Files that can be used as the first step to getting the Free Pascal compiler working on a new system.

Are you looking for a simple way to see the Free Pascal compiler work on your system? These files give you that opportunity without the need to download and install the entire compiler.

If you get the error message "util ld missing" when compiling on Linux then you should probably install the binutils package.


Intel i386 systems

Win32 - HelloWorld-fpc-2.4.2.i386-win32.zip 883 KB 13-Nov-2010
Unzip the files into a new folder
Open a Command Prompt in the new folder
Compile the program: ppc386 hello
Run the hello program
Previous release - HelloWorld-fpc-2.2.2.i386-win32.zip 778 KB 9-Feb-2009

New! Win64 - HelloWorld-fpc-2.4.2.i386-win64.zip 847 KB 10-May-2011
Unzip the files into a new folder
Open a Command Prompt in the new folder
Compile the program: ppcrossx64 hello
Run the hello program

New! Win64 - 64bitShellExt-fpc-2.4.2.i386-win64.zip 3.34 MB 10-May-2011
This small zip can be used to compile a 64-bit DLL according to the Embarcadero CodeCentral item 27554, 64bit Windows Explorer shell extension library.
Unzip the files into a new folder
Open a Command Prompt in the new folder then make the FPC folder current
Compile the 64-bit DLLprogram: compile.bat
Install according to the readme in the CodeCentral file.

DOS - HelloWorld-fpc-2.4.2.i386-dos.zip 5.16 MB 18-Nov-2010
Unzip the files into a new folder
Make \bin\go32v2 the current directory
Compile the program: ppc386 hello
Run the hello program
Note: requires 32-bit extender (cwsdpmi.exe is in the same folder and will be automatically loaded if needed).

Linux - HelloWorld-fpc-2.2.2.i386-linux.tar.gz 993 KB 11-Feb-2009
Untar the files into a new folder
Open a terminal in the new folder
Compile the program: ./ppc386 hello
Run the hello program: ./hello

Possible future additions: Linux kernel modules & Windows & ReactOS usermode applications und kernelmode device drivers


ARM systems

Linux - HelloWorld-fpc-2.2.2.arm-linux.tar.gz 922 KB 11-Feb-2009
Untar the files into a new folder
Open a terminal in the new folder
Compile the program: ./ppcarm hello
Run the hello program: ./hello

WinCE - since many WinCE devices do not have a command prompt by default, we have released a GUI "hello world" program on the "Easy fpGUI" page.


Please share your ideas, comments and suggestions. Thanks!
-- Paul Breneman

TurboControl.com PO Box 3817
Columbus, OH 43210-0817
Show for email address