error:CPU you selected does not support x86-64 instruction?

I have a C application in Suse Linux.
when I build it on linux, show this error:

[code]sha1.c:1: error: CPU you selected does not support x86-64 instruction set[/code]

I use Suse x86-64bits. but 32-bit application should run on 64-bit architecture.
I do not know my program is 32-bits or 64-bits. but when i use 64-bit architecture, there should not occur any error or problem.

can anyone help me?


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!