On Wed, 2007-06-06 at 07:31 +0100, Andy Green wrote:
Manas Saksena wrote:
> Andy Green wrote:
>> Hans de Goede wrote:
>> I have rpm-packaged a bunch of apps for crosscompile (arm9
and avr32)
>> here
> Did you have to modify rpm/rpmbuild tools? Virtually, every Embedded
> Linux vendor has modified rpm to make it behave properly for
> cross-building etc. It would be a good idea if we can get this done
> right in upstream rpm.
No, nothing was needed to change in the build host rpmbuild, it works
fine with rpmbuild that comes from FC6 and FC7 as it is including using
rpmbuild --target to set the arch. The spec files are just normal spec
files.
This doesn't match at all with my experience.
But .. could it be that you are not having redhat-rpm-config installed?
At least on FC6 it screws up --target, produces invalid *debuginfo*.rpm
for foreign object formats and many other details.
Ralf