| With the rapid development of computer technology and Internet, embedded technology and devices are widely applied in every field of construction on economy and national defence. It is a new development of the information technology, a hot spot of the information industry.Without bootstrapping on themselves, embedded systems always request a cross developement tool chain. And for the special feature including compact code and fast run speed, the tool chain should be capable of optimization. And GCC, the most portable and optimized one of current open source compilers, which has been developed many years, can supports nearly all famous processors and become an appropriate cross-compiler for the development of embedded software.With the background of developing a embedded processor named C~*CORE and compiler named GCC, this thesis analyzes the architecture of GCC, deeply studies the back-end, management technologies, the intermediate representation and machine description which the portability of GCC are based on, and brings on a method to supply compilation support of new instructions on C~*CORE.This thesis summarizes the developing background and status. It introduces the concepts of embedded system and compilation technology. And the development of embedded system constrains on the compiler system. It analyses the features of GCC on designation, architecture, back-end generators, intermediate language, machine description, back-end generation and so on. It analyses particularly RTL and Machine Description on back-end. It illuminates each step from generating intermediate language to generating assemble language. Finally it brings on a method to supply compilation support of new instructions. |