I've setup Oopo's toolchain successfully here on Ubuntu, but when compiling the bundled libraries, SDL_svg gives me a strange error:
gp2x-gcc -O3 -ffast-math -fomit-frame-pointer -mcpu=arm920t -I/usr/local/gp2xdev/include -I/usr/local/gp2xdev/include/libxml2 -L/usr/local/gp2xdev/lib -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_svg\" -DVERSION=\"1.1.9\" -DHAVE_LIBXML2=1 -I. -I. -O3 -ffast-math -fomit-frame-pointer -mcpu=arm920t -I/usr/local/gp2xdev/include -I/usr/local/gp2xdev/include/libxml2 -I/usr/include -I/usr/local/gp2xdev/include/SDL -D_REENTRANT -MT SDL_svg.lo -MD -MP -MF .deps/SDL_svg.Tpo -c SDL_svg.c -fPIC -DPIC -o .libs/SDL_svg.lo
SDL_svg.c: In function '_SDL_SVG_ArcTo':
/usr/include/bits/mathinline.h:541: error: impossible constraint in 'asm'
make[1]: *** [SDL_svg.lo] Error 1
make[1]: Leaving directory `/home/mads/gp2xdev/libs/SDL_svg-1.1.9'
make: *** [/usr/local/gp2xdev/lib/libSDL_svg.a] Error 2
I wonder, should SDL_svg even include headers from outside $(GP2XDEV) ?
I'm then refering to the include `/usr/include/bits/mathinline.h´
I would assume that the gp2x-assembler don't understand X86 asm
All help and suggestions are indeed appreciated.
gp2x-gcc -O3 -ffast-math -fomit-frame-pointer -mcpu=arm920t -I/usr/local/gp2xdev/include -I/usr/local/gp2xdev/include/libxml2 -L/usr/local/gp2xdev/lib -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"SDL_svg\" -DVERSION=\"1.1.9\" -DHAVE_LIBXML2=1 -I. -I. -O3 -ffast-math -fomit-frame-pointer -mcpu=arm920t -I/usr/local/gp2xdev/include -I/usr/local/gp2xdev/include/libxml2 -I/usr/include -I/usr/local/gp2xdev/include/SDL -D_REENTRANT -MT SDL_svg.lo -MD -MP -MF .deps/SDL_svg.Tpo -c SDL_svg.c -fPIC -DPIC -o .libs/SDL_svg.lo
SDL_svg.c: In function '_SDL_SVG_ArcTo':
/usr/include/bits/mathinline.h:541: error: impossible constraint in 'asm'
make[1]: *** [SDL_svg.lo] Error 1
make[1]: Leaving directory `/home/mads/gp2xdev/libs/SDL_svg-1.1.9'
make: *** [/usr/local/gp2xdev/lib/libSDL_svg.a] Error 2
I wonder, should SDL_svg even include headers from outside $(GP2XDEV) ?
I'm then refering to the include `/usr/include/bits/mathinline.h´
I would assume that the gp2x-assembler don't understand X86 asm
All help and suggestions are indeed appreciated.