Tuesday, July 14, 2009

Does anyone know of a free lightweight redistributable command line c++ compiler?

Does anyone know of a free lightweight redistributable command line c++ compiler?

Does anyone know of a free lightweight redistributable command line c++ compiler?
gcc can be run through cygwin on windows, and runs pretty tightly.
Reply:G++, it's part of the GNU compiler collection, or GCC, and is a standard for free software. (free as in freedom). You can get it form the GNU website for free with no strings attached, and it runs about as light as any other compiler. You can set options to make programs smaller (and thus lighter memory-wise) if you want.
Reply:Depends on what you want it for. A list of free C++ compilers is at:


http://www.thefreecountry.com/compilers/...





The older Turbo C++'s can be loaded onto one or two floppies (if two, one for Include files, Lib files and your files. Any compiler can run from command line.





For MS-Dos/Windows I recommend the Digital Mars C compiler. It is free if you just download the command-line version, $54 if you order the CD-ROM withthe ide. It has modern ansi-standard C++ syntax if you download STLPort.zip. It can be tough to get it working, but believe me, it's worth it. Get it at:





http://www.digitalmars.com/





Finally, when you are talking about redistributable, there is always Linux. And there is a LiveCD (an OS you can run off your CD-Rom) with a completely uncompromised GCC/G++ compiler (it has make, automake, gdb gconf and whatever you want) called Knoppix. It is at:





http://www.knopper.net/knoppix/index-en....





And just think, you don't have to install anything.


No comments:

Post a Comment