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] |
On Thu, 29 Sep 2005, Leon Woestenberg wrote:
Robert,
Robert P. J. Day wrote:
(is there an online tutorial about the purpose and use of sysroot in building a toolchain somewhere?)
Beware of what you ask. Some use a chroot() environment for the toolchain itself (to be vert independent from the host tools/environment). And there is the sysroot style where you prepare a target root filesystem on the host.
See these threads for a recent answer of the rationale of the last technique:
http://www.diy-linux.org/pipermail/diy-linux-dev/2005-September/thread.html
http://www.embeddedtux.org/pipermail/etux/2005-July/001080.html
let me ask a simpler question regarding this whole sysroot thing, then. what is the advantage in selecting a USE_SYSROOT build when running crosstool? what do i get out of it?
from what i can see in the results directory, the created sys-root/ directory contains the following top-level directories:
sys-root/ etc/ lib/ usr/
so ... as i read it, the contents of that directory represents a *partial*, chroot-style, root filesystem for the target system. but i have no interest in that aspect. i want my crosstool build to just build a toolchain -- i don't care about any bonus results like a partial root filesystem (yet).
so the questions remains -- if i use a sysroot approach in building my toolchain, do i have any need for that sys-root directory afterwards? is it necessary for the *use* of the toolchain once it's been built?
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
-- Maxim Osipov OOO Siemens, CT, Embedded Linux Tel.: +7 (812) 324 8379
------ 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] |