In C, I could use the tcc, but I wasn't able to find anything for c++.
A single .cpp file changed in Eclipse with the Gcc takes ~5 seconds to recompile, that's ridiculous. I don't care about how the code performs, I just need a faster testing cycle.
Any ideas to make the code compile faster?
For a 50-line file on my not very fast laptop, compile times are of the order of 1.5 seconds with g++ from the command line - obviously this depends on a lot of other factors, like what headers are included. For the Code::Blocks IDE, which is written in C++, compilation of the same files (or to be more accurate, reporting the results of compilation) is perhaps double this. I'm not surprised that an IDE written in Java is even slower.
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