[WBEL-users] RPM build with --target
Fernando Apesteguía
fernando.apesteguia at gmail.com
Tue Feb 21 11:02:02 CST 2006
Hi,
First of all, sorry because this is not a real whitebox question but a more
general rpm question.
I've written a .spec file for a .tgz file. It works fine and it generates a
.rpm by running rpmbuild -ba app.spec
But I'm working with an AMD 64 so my rpm is an x86_64 rpm. I want the 32 bit
rpm too. I've seen man page about rpmbuild and I tried to do:
rpmbuild -ba --target i386 app.spec.
Now I get an .i386.rpm file and in the rpmbuild output, I can see:
make 'RPM_OPT_FLAGS=-O2 -g -pipe -m32 -march=i386 -mtune=pentium4'
but when the building finishes I see:
Requires: libICE.so.6()(64bit) libORBit-2.so.0()(64bit) libSM.so.6()(64bit)
libart_lgpl_2.so.2()(64bit).... (and more)
In fact, I can install and run this rpm in my WBEL 64 bits (of course, I
have not that required 32 bit libraries)
Even more, when I install the application and makes a file over the
executable I get it is a ELF 64 bits.....
What I've done wrong? How can I generate a 32 bit rpm from a 64 bit system?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://beau.org/pipermail/whitebox-users/attachments/20060221/1227abe2/attachment.htm
More information about the Whitebox-users
mailing list