views:

165

answers:

5

I want to carry one in my flash drive and run it.

Thanks

+5  A: 

MinGW is a pretty good one and can be easily copied to a flash drive. Admittedly this is a port of GCC, but it works well in Windows. A drawback of this compiler is that it does not understand some of the specific Microsoft keywords that can be used when compiling with cl.exe.

linuxuser27
+1  A: 

You can use DevCpp, its a portable version for download.

http://sourceforge.net/projects/devcpp-portable/

It supports C, and C++

HarzIce
DevCPP is not a compiler.
Daniel
DevCpp isn't updated since 3 years and I think it uses a very old version of gcc. I'd take a newer version of gcc directly.
DerKuchen
Sorry about that ;)
HarzIce
A: 

http://pcc.ludd.ltu.se/

onder
I think "Portable" in the PCC's name means some other type of portability.
Dummy00001
+2  A: 

Digital Mars C and C++ compiler

celavek
+2  A: 

TCC (Tiny C Compiler) fits on a floppy and does not require installation.

bk1e