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] |
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.
Whether or not you use sysroot, the toolchains have the hard-coded full pathname of the installation directory in them.
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?
As others have said, the toolchain is still relocatable even if you use --with-sysroot. The guys who wrote --with-sysroot were the same guys who made the toolchains relocatable after installation, so they made sure of that.
> p.s. i keep trying to ask a single-issue question, but each one seems > to get tangled up in related issues. dang.
Next time you start asking detailed questions while trying to track something down, please give a little more context; maybe we could cut to the chase more quickly that way.
-- Trying to get a job as a c++ developer? See http://kegel.com/academy/getting-hired.html
------ 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] |