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]

Re: general questions about sysroot in building a toolchain


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?

rday

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 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]