Fedora and Cross Compiling

David Smith dsmith at redhat.com
Fri Jun 15 13:54:25 UTC 2007

Ralf Corsepius wrote:
> On Fri, 2007-06-15 at 08:42 -0500, David Smith wrote:
>> Ralf Corsepius wrote:
>>> Is rpm able to install arbitrary "foreign arch'ed rpms" to a non-default
>>> "rpmroot"?
>>> e.g. to run
>>> rpm -i -r /usr/share/<target>/var/lib/rpm xxx.sparc.rpm
>>> on non-sparc systems?
>> Sure.  I believe we used the '--root PATH' feature of rpm.
> How about scriptlets?
> One could try to run the host tools with paths altered, but ...

We just ran with '--noscripts' for cross rpms when installing build 
dependencies (if I remember correctly).  Probably more than %90 of build 
dependencies (libfoo-devel) just run ldconfig, which isn't needed for 
link purposes.

David Smith
dsmith at redhat.com
Red Hat
256.217.0141 (direct)
256.837.0057 (fax)

More information about the fedora-devel-list mailing list