3 ms·
Congratulations, but http://bellard.org/tcc/ http://bellard.org/tcc/ already do that! How do they compare?
by sdsk8 12y ago
Congratulations, but http://bellard.org/tcc/ http://bellard.org/tcc/ already do that!
How do they compare?
- adlpz 12y agoIf I understand it correctly, tcc is actually a compiler. C is just a script that compiles-then-runs, using whatever compiler you have set in your environment.
- audunw 12y agoThis is just a script, that invokes whichever compiler is set in the "CC" environment variable. If you set CC=tcc, it's basically the same as "tcc -run file.c", but I suppose this is a little bit nicer: "c file.c". I would probably use this with Clang rather than TCC if Clang compiles fast enough, which it generally does.