Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a portable C compiler for windows?

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

Thanks

like image 340
0xdeadbeef Avatar asked Sep 04 '10 18:09

0xdeadbeef


4 Answers

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

like image 75
bk1e Avatar answered Oct 04 '22 03:10

bk1e


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.

like image 30
linuxuser27 Avatar answered Oct 04 '22 02:10

linuxuser27


Digital Mars C and C++ compiler

like image 26
celavek Avatar answered Oct 04 '22 01:10

celavek


You can Try if u want Pocket C++(its portable) the interface is from Notepad++ and is very easy and friendly for use: https://github.com/dacap/pocketcpp

like image 32
Fotic Avatar answered Oct 04 '22 03:10

Fotic