On 29/11/2007, Paul Johnson wrote: > > OK, one follow up please. > > On the x86_64 system, I can build many programs for both architectures > by adding the option --target=x86_64,i386 in the rpmbuild. However, > for some programs, such as firefox, the i386 rpm fails to build on the > x86_64 system. So in that case, I go to a i386 and build firefox. How does it fail? Note that you may need to remove /etc/rpm/platform and run "setarch i386 rpmbuild --target=i386 ..." for cross-builds to work on x86_64. > Is there any reason why that firefox.i386 rpm cannot be put into the > x86_64 directory for the multilib purpose? That's how it is done in the Fedora repositories. All i386 pkgs that are made available for x86_64 for multilib compatibility are stored also in the x86_64 repository.