This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

general questions about sysroot in building a toolchain


  (is there an online tutorial about the purpose and use of sysroot in
building a toolchain somewhere?)

  i'm trying to clarify the use of "sysroot" in both the creation and
use of a toolchain, so a few specific questions.

  first, as i read it, if you build a toolchain with USE_SYSROOT=1,
you'll create a "sys-root" directory that, in part, represents a
chroot-style, target-based directory.  WRT to crosstool, this
directory is initialized with the appropriate kernel header files and
is then used by subsequent build steps, right?

  second, is this sysroot directory necessary for the subsequent *use*
of the toolchain?  (i recall reading somewhere that the actual
location of the sysroot directory is *hard-coded* into the eventual
executables.)

  that should do for now.

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]