Is there a faster C ++ compiler for Linux?

In C, I could use tcc, but I could not find anything for C ++.

One .cpp file modified in Eclipse with Gcc takes ~ 5 seconds to recompile, which is ridiculous. I don't care how the code works, I just need a faster testing cycle.

Any ideas to make code compilation faster?

+3
source share
4 answers

Check out clang

+4
source

50- 1,5 g++ - , , . Code:: Blocks IDE, ++, (, , ), , . , IDE, Java, .

+6

Eclipse , , , .

+1

, ++ . , , GCC/LLVM -O0 ( "o" "" ).

. 2015 Rake, Ruby GNU Make. Rakefile - Ruby, Rake. Rake - , , Ruby, , , Ruby, Rake. 2015 Rake , ( , ), , .. 2015 Java, , Gardle, Apache Maven, Apache Ant. Open source C ++ science projects seem to find CMake practical. The Boost C ++ library seems to offer Boost.Build .

On a multi-core processor, the classic GNU Make can create multiple files in parallel if it receives the -j command-line option .

0
source

All Articles