On 04/08/14 07:24, Nhựt Tân Nguyễn wrote: > Hi Administrator! > > I'm a student and i have a practise about Linux compiler. The title > is: "How to GCC compiler work?" and give to teacher the structure. > > By Google searching, i had the structure and executable rules in map > step by step. > Next, i downloaded the GCC source files in your server. But i couldn't > find "where will the code be started first?" > > I mean: that is the "Main() function", when GCC is called, the Main() > function will be finded and executed first. > > Can you tell me about the folder and files what i need? > I'm waiting for you! First build GCC. There are instructions on the GCC web site. Then you must use GDB. Do this in GDB: break main run <GCC arguments> and you'll be able to see what is happening. Andrew.