[Rpm-maint] [patch] rpm is not a cross-tool
Ralf Corsepius
rc040203 at freenet.de
Mon Aug 6 14:57:24 UTC 2007
On Mon, 2007-08-06 at 09:26 -0500, Mark Hatle wrote:
> Ralf Corsepius wrote:
> > On Mon, 2007-08-06 at 09:02 -0500, Mark Hatle wrote:
> >> Umm... yes it is.
> >>
> >> I use RPM to cross-compile software ever day. I also cross compile RPM
> >> from one target to another routinely. You need to keep the $target
> >> references or you will make the rpm.org version of RPM unable to be
> >> cross compiled.
> >
> > Like with any other autoconf'ed project, just do
> > configure --build=<build-host> --host=<target>
> >
> > It's how any autoconf'ed project works.
>
> Please validate that it's still working then.
How can I? You'd have to tell me how you have been configuring/building
rpm and using rpm?
What this patch does is to fix cross-building rpm, i.e. cross-building
the rpm package for a foreign target, e.g. to build a solaris rpm on
i386-linux.
> In the past when folks
> have made these changes they have always lead to the target version of
> RPM getting host system definitions and special flags.
Ralf
More information about the Rpm-maint
mailing list