Franxis
MAME 4 ALL
I have succesfully used DevKitGp2X to compile MAME4ALL on the Wiz.
But you have to modify two files to be able to link dinamically the libm and libpthread libraries.
C:\devkitGP2X\sysroot\usr\lib\libm.so:
CODE
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-littlearm)
GROUP ( /lib/libm.so.6 )
C:\devkitGP2X\sysroot\usr\lib\libpthread.so:
CODE
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-littlearm)
GROUP ( /lib/libpthread.so.0 )
Also you have to compile with the following flags: -mcpu=arm926ej-s -mtune=arm926ej-s
And link WITHOUT the -static flag.
That's all.
Regards.
But you have to modify two files to be able to link dinamically the libm and libpthread libraries.
C:\devkitGP2X\sysroot\usr\lib\libm.so:
CODE
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-littlearm)
GROUP ( /lib/libm.so.6 )
C:\devkitGP2X\sysroot\usr\lib\libpthread.so:
CODE
/* GNU ld script
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf32-littlearm)
GROUP ( /lib/libpthread.so.0 )
Also you have to compile with the following flags: -mcpu=arm926ej-s -mtune=arm926ej-s
And link WITHOUT the -static flag.
That's all.
Regards.