Anyone had any luck getting this to work on amd64? All I get when I try to build jfbuild_src_20051009 is this:
Code:
gcc -march=pentium -fomit-frame-pointer -O2 -W -Wall -Wimplicit -Wno-char-subscripts -Wno-unused -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -DKSFORBUILD -Iinclude -DRENDERTYPESDL=1 -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -I/usr/include/SDL -D_REENTRANT -DHAVE_GTK2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -c src/game.c -o obj.gnu/game.o 2>&1
src/game.c:1: error: CPU you selected does not support x86-64 instruction set
src/game.c:1: error: CPU you selected does not support x86-64 instruction set
make: *** [obj.gnu/game.o] Error 1
Editing the Makefile and adding march=athlon64, gives this:
Code:
In file included from src/game.c:10:
include/pragmas.h:3699:2: error: #error Unsupported compiler or architecture.
src/game.c: In function ‘prepareboard’:
src/game.c:1139: warning: implicit declaration of function ‘clearbufbyte’
src/game.c:1349: warning: implicit declaration of function ‘klabs’
src/game.c:1475: warning: implicit declaration of function ‘mulscale7’
src/game.c:1477: warning: implicit declaration of function ‘mulscale5’
src/game.c:1493: warning: implicit declaration of function ‘copybuf’
src/game.c:1504: warning: implicit declaration of function ‘scale’
src/game.c: In function ‘checktouchsprite’:
src/game.c:1561: warning: implicit declaration of function ‘mulscale4’
src/game.c:1562: warning: implicit declaration of function ‘mulscale8’
src/game.c: In function ‘analyzesprites’:
src/game.c:1905: warning: implicit declaration of function ‘mulscale16’
src/game.c: In function ‘statuslistcode’:
src/game.c:2513: warning: implicit declaration of function ‘sqr’
src/game.c:2546: warning: implicit declaration of function ‘divscale7’
src/game.c:2550: warning: implicit declaration of function ‘divscale9’
src/game.c:2564: warning: implicit declaration of function ‘mulscale22’
src/game.c:2597: warning: implicit declaration of function ‘mulscale30’
src/game.c:2599: warning: implicit declaration of function ‘ksgn’
src/game.c:2615: warning: implicit declaration of function ‘mulscale14’
src/game.c:2623: warning: implicit declaration of function ‘divscale17’
src/game.c:2626: warning: implicit declaration of function ‘mulscale12’
src/game.c:2643: warning: implicit declaration of function ‘mulscale13’
src/game.c:2649: warning: implicit declaration of function ‘dmulscale14’
src/game.c: In function ‘view’:
src/game.c:3506: warning: implicit declaration of function ‘mulscale28’
src/game.c:3514: warning: implicit declaration of function ‘divscale16’
src/game.c: In function ‘drawscreen’:
src/game.c:3693: warning: implicit declaration of function ‘dmulscale12’
src/game.c: In function ‘movethings’:
src/game.c:4196: warning: implicit declaration of function ‘copybufbyte’
src/game.c:4949:2: error: #error Unsupported compiler or architecture
src/game.c: In function ‘movelava’:
src/game.c:5019: warning: implicit declaration of function ‘addlava’
src/game.c: In function ‘drawoverheadmap’:
src/game.c:5824: warning: implicit declaration of function ‘dmulscale16’
make: *** [obj.gnu/game.o] Error 1
Any ideas?
Bookmarks