What's new

Amd64 compilation problem

Benjalien

New member
Hi everyone,

I'm running Debian (linux) 2.6.11 on amd64.

I'm not using the binary because of 32/64 bits library problems, so I thought about compiling it, but I get that error:

benjalien@Autokrach:~/Desktop/emu64$ make
gcc -DX86 -O3 -fomit-frame-pointer -funroll-loops -ffast-math -mcpu=athlon -Wall -pipe -c -o main/rom.o main/rom.c
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
main/rom.c:1: erreur: le processeur sélectionné ne supporte pas le jeu d'instructions x86-64
make: *** [main/rom.o] Erreur 1

that could be translated in: ... the choosne processor doesn't support x86-64 instruction set...

and thats quite annoying me...

If anyone had any idea, I would apreciate it!

Thanks
 
F

fbff

Guest
In Makefile

change
Code:
-mcpu
to
Code:
-march

It is on line 4 in my old version of the mupen source. Currently it says -mcpu=athlon. I would change it to -march=k8
 

Hacktarux

Emulator Developer
Moderator
even if you compile it yourself, you should compile it as a 32 bit binary, mupen64 is not compatible with 64 bit architectures yet.
 

Top