This question already has an answer here:
- Is gcc C compiler written in C itself? 2 answers
- How can a C compiler be written in C? [duplicate] 4 answers
Basically I would like to understand how Linux Operating System understand C language.
I was aware of Linux Kernel written in C language. GCC requires to compile Linux Kernel on any devices/virtual boxes - Linux Kernel
Based on this,I guess GCC is a compiler for C language, but if we look GCC wiki page - GCC Wiki, it looks, GCC written originally by C language.
It's confusing me - how a language compiler can be developed by same language.
So my question is how any Linux system understand/compile C language? and do we have source code for C language?
Aucun commentaire:
Enregistrer un commentaire