|
From gcc 3.4.0, you can use precompiled header, this will improve the compile speed for the large c/c++ project.
it is simple to use precompiled header, for example you can create a header file named all.h, this file include all the header files that you will included in your project and copy the file all.h to all.h.gch in the same directory, then include "all.h" in the files you want to include the original headers. when compiling source cdoe, gcc will use all.h.gch to speed up the compile process.
more info please refer to
http://gcc.gnu.org/onlinedocs/gc ... ecompiled%20Headers |
|