-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 18 August 2004 11:24 am, Michael Stevens wrote: ...
The tricky bit is I want to do this on an x86_64 machine running the 64bit compilers. I also need to produce both a standard x86_64 binary rpm as well as a i586 binary rpm. The later is equivalent to the '-32bit' packages in the distribution.
The i586 binary is particularly hard. It seems that: a) You cannot simply use a binary rpm built on a 32bit version of SuSE9.1. b) When building on x86_64 machine I need to change the metadata. At the very least I need to pass '-m32' to gcc.
Try adding "--target=i586-linux" to your rpmbuild command. The CFLAGS should be set appropriately. - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This e-mail is CONFIDENTIAL and contains information intended only for the person(s) named. Any other distribution, copying or disclosure is strictly prohibited. If you have received this e-mail in error, please notify me immediately at 902 420 0077 or reply by e-mail to the sender and destroy the original communication. Thank You. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBJOK24U2uQswGyDcRAnu9AKCouTKy2H5kJd1HYssPV/4u0A7ZQACgnuP4 KFkCQLFITEaVhOq76CKIdgo= =414i -----END PGP SIGNATURE-----