How to make a “light” build of GCC with language supports etc. pruned?
问题 Basically I would like to make a light build of GCC with only C/C++ support. Can this be done easily or does it require manual tinkering with source? 回答1: This is covered in Installing GCC and Configuration --enable-languages=lang1,lang2,... Specify that only a particular subset of compilers and their runtime libraries should be built. For a list of valid values for langN you can issue the following command in the gcc directory of your GCC source tree: grep language= */config-lang.in