Hi,
I've nearly got xmess to compile using cross compiler from the skiff
toolchain.
It dies when linking. I not sure which LIB to use when using the software
FPU
-msoft-float.
(A) do I need this option.
(B) is it faster or
(C) is trapd method unsupported by the kernel?
Also those compiling xmame and xmess have a look at file
/src/unix/unix.mak.
I've removed option -D__CPU_$(MY_CPU) from around line 130 and replace
with -march=armv4.
Cross compiling this baby is mission and half. The m68kmake I cheated by
making xmame/xmess I86 version
in different dir and copied across to the obj dir when needed. Plus comment
some lines in unix.mak.
I should really change the makefile to ref the i86-gcc and give it new set
of CFLAGS so can compile and run.
I don't recommend passing CC=arm-linux-gcc in the makefile.unix. When it
comes to compiling the zlib it defaults to gcc.
Good luck modifying their configure file if you use arm-linux-gcc.
I've created symbolic links in the bin. ie "ln -s arm-linux-gcc gcc" I did
this for all the arm-linux-? files.
I then made a excutable file called "arm" and enter the following: (Got it
of the net somewhere?)
#! /bin/sh
PATH="/skiff/local/bin/:$PATH"
exec "$@"
Test it
./arm gcc -v
use it:
./arm make -f makefile.unix
Good luck
>PS. Of course, you don't want to forget:
> 4) Keep everyone posted on the list about successes and
> failures! Failures?
OK, I got xmame to compile on the skiff, but not run on the iPaq. It didn't
like the CPU selection. Hans (the author) may have to add in ARM CPU
support. I will work on the makefile some more. That sucker takes about 40
minutes to compile and the binary is 8.9MB, unstripped. If I ever get it to
run right, the stripped version should be about 5MB, maybe a little less (it
supports ~2300 games). As to possible copyright problems Jim mentioned, mame
itself is legal. Simply let users find their own game ROM files. Also, there
*ARE* free games available for mame that people have written and given away.
We could include a couple of free ROM files to get them going. Tom
Received on Wed Oct 11 05:50:42 2000
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:44 EDT