Reputation: 386
I've read in the manpage that
Note: GCC options -Ox, -fx and -mx are ignored.
It produces different binary sizes, compiling st with gcc -O3
, the binary size is 120K and with tcc it's 112K.
Is code compiled with tcc running slower than gcc -O3
?
Upvotes: 2
Views: 1888
Reputation: 241721
Tcc does not optimise. Normally, gcc's optimisations result in binaries which run considerably faster. (The size of the binary is not a predictor of execution speed, by the way.)
Upvotes: 7