views on an old subject"--with-sysroot"

2008-12-07 Thread Cheng bin
Hi All: About "--with-sysroot" option, I got some understanding following but not sure about it. All words are based on gcc-3.4.2. For a native gcc, There are three important macro LOCAL_INCLUDE_DIR, SYSTEM_INCLUDE_DIR and STANDARD_INCLUDE_DIR. Gcc built will search headers in directori

About the procedure of fixinclude in building gcc

2008-12-01 Thread Cheng bin
Hi All: Now I am working on the procedure of fixinclude in building gcc and got following concepts. Take three PATH as example to illustrate, ginclude: which provided by gcc source includes system headers wanted by gcc; sys_inc : the location of system header files; loca

Re: Several puzzles about gcc top level makefile

2008-11-29 Thread Cheng bin
Thanks very much, Ian Lance Taylor . I will go deeper into the makefiles.

Several puzzles about gcc top level makefile

2008-11-27 Thread Cheng bin
Hi Groups: Right now I am studying the procedure of building gcc(mipsel cross compiler), so I look into the makefiles generated by configure procedure. This message is about the top level makefile, I got most of it (It's some kind of well structured) except several puzzles as following 1 : At