When I try to compile a simple C program with -march=i686, I get the following error: cc1: error: CPU you selected does not support x86-64 instruction set I have gcc-32bit installed. Any help appreciated. Thanks David -- # Department of Applied Physics and Applied Mathematics # Columbia University
On Saturday 16 July 2005 18:18, David Lazanja wrote:
When I try to compile a simple C program with -march=i686, I get the following error:
cc1: error: CPU you selected does not support x86-64 instruction set
I have gcc-32bit installed.
Try gcc -m32 -march=i686 Without the -m32, GCC trys to create a 64 bit executable. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/
I still need to develop 32bit applications on my x86_64 system. Many RPMs are available as xxx-32bit-yyy.x86_64.rpm which are configured differently compared to the native xxx.i586.rpm Unfortunately I'm missing a 32bit Xerces-c-2.6.0-3 rpm Is there any documentation/faq/howto generate/configure such a rpm to fit into the SuSE 64bit library system? Dieter. -- Dieter Stüken, con terra GmbH, Münster stueken@conterra.de http://www.conterra.de/ (0)251-7474-501
Dieter Stüken wrote:
I still need to develop 32bit applications on my x86_64 system. Many RPMs are available as xxx-32bit-yyy.x86_64.rpm which are configured differently compared to the native xxx.i586.rpm
Unfortunately I'm missing a 32bit Xerces-c-2.6.0-3 rpm Is there any documentation/faq/howto generate/configure such a rpm to fit into the SuSE 64bit library system?
Dieter.
Quite a while since I've used it, but "linux32" and "CC=gcc -m32" I remember, just a bit hazy right now about exactly what I did, I'd have to try building something from sources in order to give full details. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
On Fri, Aug 19, 2005 at 09:59:52AM +0200, Dieter Stüken wrote:
I still need to develop 32bit applications on my x86_64 system. Many RPMs are available as xxx-32bit-yyy.x86_64.rpm which are configured differently compared to the native xxx.i586.rpm
Unfortunately I'm missing a 32bit Xerces-c-2.6.0-3 rpm
You are lucky! See http://pi3.informatik.uni-mannheim.de/~schiele/suse/9.3/.
Is there any documentation/faq/howto generate/configure such a rpm to fit into the SuSE 64bit library system?
See spec file for baselibs-32bit package. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
participants (5)
-
Bernd Paysan
-
David Lazanja
-
Dieter Stüken
-
Robert Schiele
-
Sid Boyce