GNU Pascal - the "mother" of all Pascal compilers

Welcome to the African Chief's GNU Pascal link page. Here you can find out all about the GNU Pascal (GPC) project. GNU Pascal is a free and portable 32-bit Pascal compiler. It supports ANSI/ISO Standard Pascal, and most of the ANSI/ISO Extended Pascal, UCSD Pascal, and Borland Pascal syntaxes. Ports of GPC exist for Win32 (MINGW32), DOS (DJGPP), OS/2 and DOS (EMX), Linux (ELF), Linux (a.out), FreeBSD, IRIX, Digital Alpha (OSF 1), Solaris, and more. In all, GPC is on its way to becoming the Mother of all Pascal compilers. Portability is a major goal of the project, but so also is the desire to provide Pascal programmers with a robust, industry standard, flexible, rich, optmising compiler.

The latest full release is v2.1.

The GPC distributions come with full source code to the compiler and libraries. Precompiled binaries exist for various platforms. All of these are freely downloadable from the internet. This page provides you with some useful links to GPC v2.1 releases, and some other useful related sites.

For example, you can visit the GNU homepage, and my fledgling GNU-Win32 page.

You can also visit the GNU Pascal homepage, and, you can read the GNU Pascal "to do" list.

The latest sources can be downloaded from


1. Click here for the compiler (v2.1) sources.
2. Click or here  for the African Chief's Cygwin (Win32) and Mingw32 (Win32) and Solaris 2.5.1 binaries.
3. Click here for the DJGPP (Dos32) binaries.

Note that, to use GPC under OS/2, you also need to download the EMX development system. To use GPC under DOS, you need to download either the EMX development system (which works for OS/2 and DOS), or the DJGPP development system (which works under DOS). The DOS and OS/2 compilers work in these environments. These environments are explained below.

The DJGPP (DOS-32) development system

DJGPP is a complete 32-bit development system for Intel 80386 (and higher) PCs running DOS. It includes ports of many GNU development utilities. Many "third-party" software have been written for djgpp, and many applications that are outgrowing their 16-bit roots are being rewritten to take advantage of djgpp's 32-bit environment. Popular examples of these (some are still in the works) are Quake, Info-Zip, GhostScript, Executor/DOS, WatTCP, Xemu, DESQview/X's developers kit, and countless data processing programs used by companies and individuals throughout the world. You can visit the DJGPP homepage, or download the DJGPP libraries, and also some necessary GNU tools (assembler, etc).

The RHIDE development environment

GPC does not have a built-in development environment (or IDE). However, there exists a freeware Borland-style integrated development environment called RHIDE. RHIDE resembles the Borland Pascal and Borland C++ DOS IDEs in almost every respect. It supports GNU compilers such as the GNU C/C++, and also GNU Pascal, and can be used as the IDE for GPC. RHIDE runs under DOS, and Linux. RHIDE comes with the full (C++) source code. It was developed with GNU C/C++ under DJGPP, using a port of Borland's Turbo Vision application framework (ported for DJGPP). You can download the RHIDE binaries, and the RHIDE source code.

Or you can try Frank Heckenbach's PENG editor.

The GPC list

Discussions on the GNU Pascal project take place on the GPC list ( on the internet. All the members of the GPC development team are active on this list. This is where you can make your own contributions and suggestions.

Join the GPC list!

Back ...