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

2008-12-07 Thread Amker . Cheng
Hello: Thanks Kai Ruottu very much for the detailed explanation. At first glance I thought that I might go too far in wrong direction, fortunately, not so bad. Firstly I have to admit that I made a mistake. I will show it by listing codes from cppdefault.c and gcc makefile. All are based on gc

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