GNU C compiler is a tool for developing a compiler. Most Computers support GNU C compiler for the second compiler or the first one. Because GNU C provides powerful optimizations developed by GNU users and has RTL language for intermediate representation which provides portability to compiler.
GNU C compiler for GPP (general purpose processor) already implemented and performed well. But for some special processors like embedded processors, GNU C is not implemented except well-known chips.
8051 MPU is installed in some embedded system. There are some compilers which can compile 8051 C applications. But those compilers have many restrictions.
This paper presents implementation of 8051 GNU C compiler and also presents general structure, compiling process of GNU C and presents how to input information of 8051 processor.
By implementing 8051 compiler, we analysis GNU C compiler for the embedded system. For the example, acceptability (flexibility) of special architecture and easy compiler implementation, etc. And we improve those restrictions of existing compilers