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
How can I rebuild a 386 package under FC for x86_64?
Should
build using "mock" (minimal install on a chroot environnement)
mock -r fedora-6-i386-core yourpackage.src.rpm
mock -r fedora-6-x86_64-core yourpackage.src.rpm