This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
Moving toolchain to other host
- From: Rod Nussbaumer <bomr at triumf dot ca>
- To: crossgcc at sourceware dot org
- Date: Fri, 22 Jan 2010 15:57:41 -0800
- Subject: Moving toolchain to other host
Hi all.
Because I have had no end of problems getting ct-ng to build toolchains
on my normally designated development host (RHEL 4.X clone), I have
created a Debian 5.02 host for the sole purpose of running ct-ng. This
seems to work fabulously, so far, and I've been able to generate i686
targeted and ARM targeted toolchains. Me happy.
Now, the question is, can I move those toolchains over to my RHEL 4.X
&/or RHEL 5.X host(s), in order to compile code to run on embedded
targets? The Redhat boxes are presently running kernels version 2.6.9 &
version 2.68.18. If I build against those kernel versions when I build
the toolchain, does that buy me anything? What IS the upshot of changing
kernel versions when building the toolchains? Can I/should I build a
specific version of the C Library with the toolchains?
Now that I'm thinking about, I guess I would give myself the best chance
by using versions of all compilers, libraries and kernels that match the
versions on the RHEL sort-of target. I suppose that in some sense, I am
making a Canadian cross, bu hoping to cheat and just copy the toolchains
without targeting them to a different host type. Are there general rules
about what object code is runnable on other OS versions?
--- rod.
--
For unsubscribe information see http://sourceware.org/lists.html#faq