Putting cross compilers into Fedora

Andrew Haley aph at redhat.com
Wed Sep 1 14:46:16 UTC 2010

On 09/01/2010 03:37 PM, Gerd Hoffmann wrote:
>>> b) To equippe the rpm/yum/mock etc. infrastructure with a mechanism to
>>> pull-in "foreign binaries" into a sys-root (E.g. to install Fedora
>>> *.ppc.rpm rpms into /usr/ppc-redhat/sys-root). So far, such mechanism
>>> doesn't exist.
>> No need for that eithr.  They can figure out
>> rpm2cpio package | cpio -i -
> Isn't that easy, you'll have to do a bunch of fixups after doing so to
> have things actually work.

Usually not.  Nine times out of ten, (probably 99 out of 100) all you
need for cross-devel is the headers and the libraries, and they'll be
in the right place after unpacking.  The package doesn't have to work
in that situation, it just has to be possible to build against it.

> Also automagic fetching of packages (including dependencies) would
> be nice.  Upgrading them even nicer.

Lots of things sould be nice.  It's not an argument for not providing

> Creating a script (or yum plugin?) doing all that is probably *much*
> less work than creating tons of extra packages for userspace cross builds.

Which we really shouldn't do.  All this is irrelavant, and we're
getting away from the core issue, which is about providing cross


More information about the devel mailing list