Re: Compiling gcc with sysroot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux