<<
Classic compiler structure
>>
Overall structure of the
gcc
program is the same as original K&R C Compiler:
A user-mode program (
gcc
/
cc
) processes arguments, and decides which other programs to run.
The compiler proper (
cc1
/...) is invoked once for each source file.
Result of
cc1
is an assembly file, which is assembled using
as
program.
This tried-and-true approach is running into problems.