Re: with-sysroot / with-build-sysroot

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

 



NightStrike wrote:
Could someone explain to me in more detail than what is in the manual
what the differences are between the two options, with-sysroot and
with-build-sysroot?

My understanding (not having ever used --with-build-sysroot) is:

--with-sysroot specifies the sysroot to be used when the compiler is being run.

If the sysroot at compiler build time is in a different location than that specified by --with-sysroot, you should specify the build time location with --with-build-sysroot.

If your host machine is the build machine, then you probably only want to specify --with-sysroot. If you are building for a different host (one that has a different sysroot than the build machine) then you may need --with-build-sysroot.

David Daney

[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