[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora and Cross Compiling



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 redhat com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]