Bonsoir,

J'ai des sources d'un programme de jeu de réflexion (Othello) nommé "zebra" qu'on peut récupérer sous la forme "zebra.tar.gz" à l'adresse suivante :

http://radagast.se/othello/zebra.tar.gz

En modifiant juste le makefile, j'arrive à compiler avec un shuttle sous linux (vectorlinux 6.0) . Mais maintenant que j'ai un macbook, j'aimerais faire de même sous Mac OS X (processeur Intel Core 2 Duo).
Hors quand je tape "make all" comme indiqué dans le README j'ai le message d'erreur suivant :
ae6$ make all
gcc -O4 -s -fomit-frame-pointer -mtune=pentium2 -falign-functions=32 -Wall -Wcast-align -Wwrite-strings -Wstrict-prototypes -Winline -DINCLUDE_BOOKTOOL -DTEXT_BASED -DZLIB_STATIC -c -o bitbcnt.o bitbcnt.c
bitbcnt.c:1: error: CPU you selected does not support x86-64 instruction set
make: *** [bitbcnt.o] Error 1

Quelqu'un m'a dit de modifier la ligne
Code : Sélectionner tout - Visualiser dans une fenêtre à part
-mtune=pentium2 par -mtune=generic
Mais en faisant ça j'ai un message d'erreur différent ( ce qui est un progrès dans un sens ^^). La voici :

ae6$ make all
gcc -O4 -s -fomit-frame-pointer -mtune=generic -falign-functions=32 -Wall -Wcast-align -Wwrite-strings -Wstrict-prototypes -Winline -DINCLUDE_BOOKTOOL -DTEXT_BASED -DUSE_PENTIUM_ASM -DZLIB_STATIC -c -o bitbcnt.o bitbcnt.c
gcc -O4 -s -fomit-frame-pointer -mtune=generic -falign-functions=32 -Wall -Wcast-align -Wwrite-strings -Wstrict-prototypes -Winline -DINCLUDE_BOOKTOOL -DTEXT_BASED -DUSE_PENTIUM_ASM -DZLIB_STATIC -c -o bitbmob.o bitbmob.c
/var/folders/98/98ICuWLSGmq-NR3SXryQT++++TM/-Tmp-//cc823UGL.s:10:suffix or operands invalid for `pop'
/var/folders/98/98ICuWLSGmq-NR3SXryQT++++TM/-Tmp-//cc823UGL.s:13:suffix or operands invalid for `push'
/var/folders/98/98ICuWLSGmq-NR3SXryQT++++TM/-Tmp-//cc823UGL.s:16:suffix or operands invalid for `pop'
make: *** [bitbmob.o] Error 1
macbook-de-9ae6:zebra ae6$


Ce qui est toujours du chinois pour moi. Si quelqu'un pouvait m'aider je lui en serais très reconnaissant surtout que c'est pour me préparer au prochain championnat mondial d'othello ^^ ( appelé aussi reversi si certains connaissent ... ^^)