Fedora -> Fedora cross binutils/gcc/gdb packages

Lennert Buytenhek buytenh at wantstofly.org
Tue Oct 2 02:49:13 UTC 2007


On Tue, Oct 02, 2007 at 04:46:17AM +0200, Ralf Corsepius 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)

He was talking about that latter case, though.

I.e., what you put into /usr/$target/sys-root _are_ target packages.




More information about the fedora-devel-list mailing list