This article is from the alt.comp.lang.learn.c-c++ Frequently Asked Questions. Compiled by Sunil Rao sunil.rao@ic.ac.uk.
(Answer adapted from Joe Buck's FAQ for g++ and libg++.) * gcc
gcc is a free C and C++ compiler from the Free Software Foundation available for many Unix-based systems. Its ports for other systems are also freely available. http://www.fsf.org/software/gcc/gcc.html ftp://prep.ai.mit.edu/pub/gnu/
egcs (the experimental gnu compiler system) is another free project (based on gcc). Check out http://www.cygnus.com/egcs/ The MS-DOS port (DJGPP) of gcc runs on a 386 or higher, and is a full 32-bit compiler. Make sure you read the FAQ thoroughly first, however, and post any questions you have regarding its setup to comp.os.msdos.djgpp, not here. http://www.delorie.com/djgpp/
For a port of gcc that works on 32-bit Windows, look at http://www.cygnus.com/misc/gnu-win32/ Also, for another port, see http://www.xraylith.wisc.edu/~khan/software/ gnu-win32/egcs-mingw32.html
You could also get hold of Bloodshed Dev-C++, which is essentially Mingw32 bundled with an editor, packaged in an easier-to-use form. http://www.bloodshed.nu/devc.html
For the Amiga, BeOS, and pOS, look at the GG port of gcc at http://www.ninemoons.com/GG/
EMX is a port of gcc to OS/2 that also works on DOS. http://www.os2ss.com/unix/emx09c/
* lcc
lcc-win32 is a free C compiler available for 32-bit Windows. http://www.cs.virginia.edu/~lcc-win32/
It is based on the retargettable lcc system. http://www.cs.princeton.edu/software/lcc/
* Pacific C
The Pacific C compiler is available for free for personal use. You can download it from http://www.hitech.com.au/products/pacific.html
* MPW
If you're programming under the Apple Macintosh, you can obtain the Macintosh Programmers' workshop for free. http://developer.apple.com/tools/mpw-tools/
* Turbo C
Inprise (formerly known as Borland) have commenced making older versions of their software available for free download. This includes older (possibly pre-standard) versions of their Turbo C compiler. http://community.borland.com/museum/
* Micro-C
If you are looking for a free C compiler for MS-DOS that is easy to install and use, take a look at Micro-C, available from http://www.dunfield.com/
Do bear in mind that it is not wholly compatible with the standard. The incompatibilites are well-documented, however.
 
Continue to: