rpmbuild

Fernando Apesteguía fernando.apesteguia at gmail.com
Thu Dec 28 18:41:51 UTC 2006


Hello people,

I'm running FC 6 for x86_64. I have a .tgz project that I could
package into .src.rpm and .x86_64.rpm files.

The point is that I would like to build the .i386.rpm package. I tried
with the --target i386 flag but the .o files under the BUILD
subdirectory are all 64 bit ELF (according to the 'file' command)

I had to to this by hand for another project by doing two steps:

gcc ...... -m32 files.c

and then using gcc again to link the files, passing the proper
libraries directories with the -L option...

How can I rebuild a 386 package under FC for x86_64?

Thanks in advance




More information about the fedora-list mailing list