- 论坛徽章:
- 2
|
http://gcc.gnu.org/wiki/ModularGCC
Instead of having a single monolithic binary, I propose separating the major components in libbackend.a into several libraries.
These libraries would live in separate sub-directories under gcc/.
* gcc/
* c/ - The C front end.
* driver/ - The gcc driver.
* generic/ - Tree files.
* gimple/ - Gimple generation, analysis and optimization.
* ipa/ - Callgraph manager and IPA analysis/optimization.
* rtl/ - RTL code generation and optimization.
* diagnostic/ - Generic diagnostic routines.
* cfg/ - Control Flow Graph routines.
* openmp/ - OpenMP implementation.
I propose to modularize the gcc/ directory using the different Intermediate Languages (IL) as the main separators.
I believe that all the intermediate languages in GCC should have a streaming representation.
给我的感觉,有点像Open64了。 |
|