thx dude .. it helped ..
"H. Peter Anvin"
<hpa@xxxxxxxxx>
Sent by: rpm-list-bounces@xxxxxxxxxx 12/21/2005 22:31
|
|
Sandeep Ramesh wrote:
>
> Hi Folks,
> I am packaging using rpm on a 64-bit AMD with Linux (RHEL4 and SLES9)
> as the OS. Actually I was building the product fine on 32-bit and then
> upgraded my machine to 64-bit AMD with the x86_64 version of the OS.
> Now the packages that are getting built by the 64-bit OS cannot be used
> on the 32-bit Linux.
>
> Following is the error it gives on a 32-bit linux when I try to install it.
>
> [root@nasrh4vm1 tmp]# rpm -iv client-1.4.0.3-1.x86_64.rpm
> Preparing packages for installation...
> package client-1.4.0.3-1 is intended for a x86_64 architecture
>
>
> Is there any way that I can build the rpm packages on 64-bit Linux and
> it will work on both 32-bit (i386) as well as 64-bit (x86_64) Linux.
> There should be some way to get the backward compatibility. Help will be
> highly appreciated. I did lurk around , but did not get any
> documentation on it :-(
>
rpmbuild --target i386
-hpa
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list