On 12/5/11 21:49 PM, Ian Lance Taylor wrote:
The primary effect of the --with-sysroot option is on how gcc works after it has been built and installed. However, there is also an effect on the build: if you use --with-sysroot, then when gcc is building library code which runs on the target, it will use header files and libraries from the specified sysroot.
Okay, thanks. That clear things up a bit for me.
You should not normally use it when building a cross-compiler.
Can you elaborate on why? -- chs