general questions about sysroot in building a toolchain
Robert P. J. Day
Thu Sep 29 13:15:00 GMT 2005
On Thu, 29 Sep 2005, Maxim Osipov wrote:
> You have all your libraries and headers in sysroot. Gcc and ld will
> use it when building your programs.
ok, things are suddenly becoming clearer (i hope), and a good part of
this has to do with whether i can relocate a generated toolchain.
i can see that, if i use USE_SYSROOT=1 with crosstool, my generated
cross-compiling utilities (sh3-unknown-linux-gnu-gcc/ld/etc.) have,
embedded in them, the hard-coded full pathname of that sys-root
directory where it was created during the build.
so, if i try to copy the generated toolchain "results" directory
elsewhere, cross-compilation will break given that the sys-root
directory isn't there anymore.
in that case, what is the freedom in relocating a generated toolchain
elsewhere if one uses sysroot during the build?
p.s. i keep trying to ask a single-issue question, but each one seems
to get tangled up in related issues. dang.
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc