gcc and simple C compiler

Bill Cunningham bill.cu1234@gmail.com
Sun Oct 3 23:48:36 GMT 2021


Greetings I was wondering if there was a way I could compile a simple C 
only compiler, as a learning experience, and just "extract" a simple C99 
compiler. To explain better, would there be a log or pathway that gcc 
would create if I properly set the switches ec cetra to compile a C99 
compiler for the x86_64-pc-linux-gnu target and the log would show me 
all the files used and I could "move" those files to a directory and 
have a simple, smaller, gcc C compiler.

     This is for my own use to learn gcc and not to be made public.

Thx.




More information about the Gcc-help mailing list