Fedora -> Fedora cross binutils/gcc/gdb packages

Ralf Corsepius rc040203 at freenet.de
Tue Oct 2 02:46:17 UTC 2007


On Mon, 2007-10-01 at 19:25 -0700, Roland McGrath wrote:
> > There is a script called repack_cross.pl which can convert a target
> > binary RPM to a noarch RPM with all files moved to
> > /usr/$target/sys-root/, and a set of such pre-generated noarch RPMS
> > is included in the abovementioned repository (and pulled in when
> > you install the cross-compiler.)
> 
> Is there a benefit to this approach vs rpm --root /usr/$target/sys-root
> or something along those lines?

The "rpm --root" approach is not applicable to cross toolchains, because
cross tools are native host binaries and produce binaries for a target.

The "rpm --root" approach would be applicable to set up a
cross-toolchain's target environment (i.e. the target environment being
_used_ by a cross-toolchain)

Ralf





More information about the fedora-devel-list mailing list