how to build a faster gcc working on a specific project
问 题
ihave1111questions@hotmail.com
Wed Jun 27 03:33:00 GMT 2018
Hi,
I am working on a project with millions of LOC, which needs really long time to compile. I know gcc has a technique called profile guided optimization(PGO) which makes the compiled program run faster by using some training data. So I am wondering if I can use my project to train gcc while compiling gcc itself. I know gcc provides a make option 'make profiledbootstrap' to train the compiler, but how can I use my own project to train gcc?
I do know some other techniques like distcc and ccache to speed up compiling, but here I want to focus on gcc.
Tony
来自 Outlook<http://aka.ms/weboutlook>
More information about the Gcc-help
mailing list