I would like a standalone C++ compiler that doesn't need installing. Something that can run from a directory or from a USB key.
I have googled it, but I can't really find exactly what I am looking for. It doesn't matter if it is just a command line compiler or if is an IDE. I would appreciate a link to the page where I can actually download the file that I need.
Since I am still new to C++, just to make sure that you all understand what I am looking for: I would like a program so that I can run that program on a source file (.cpp) and produce and executable.
I am on 64 bit Windows 7.
EDIT: Just to be clear. I would prefer if I could simply just download a zip-file (or something like that) and unzip it into a directory on the computer and then boom it works.
There's no official C compiler on any platform, and gcc is not a Windows program. The two main toolkits which provide C a compiler on Windows are MinGW and Cygwin. Both include a port of gcc, and after installing either one, you can use the gcc command to compile your C code.
Unfortunately, there is no in-built compiler. You need to install one.
I recommend STL's MinGW distro, which is xcopyable and includes the latest GCC (currently, GCC 4.7).
SO user rubenv has some distributions of Mingw-w64:
For gcc 4.7.0. Grab one with win64
in the filename.
He also had clang somewhere, but I can only find the 32-bit windows version right now.
Just download and unzip the file. You will have to update your PATH manually though. However, no boost like STL's distro.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With