g++ -fno-exceptions -I/usr/include/SDL -D_REENTRANT -mcpu=xscale -mtune=xscale -WA,-mfpu=softvfp -funroll-loops -fomit-frame-pointer -pipe -DC_CORE -DPROFILING -o VisualBoyAdvance SDL.o debugger.o 2xSaI.o Cheats.o EEprom.o Flash.o GBA.o Gfx.o Globals.o Mode0.o Mode1.o Mode2.o Mode3.o Mode4.o Mode5.o RTC.o Sound.o Sram.o Text.o Util.o admame.o agbprint.o armdis.o bilinear.o bios.o elf.o expr-lex.o expr.o exprNode.o getopt.o getopt1.o hq2x.o interframe.o memgzio.o motionblur.o pixel.o remote.o scanline.o simple2x.o unzip.o ../gb/libgb.a ../prof/libprof.a -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lpng -lz
/zgcc/bin/../lib/gcc/armv5tel-cacko-linux/3.4.4/../../../../armv5tel-cacko-linux/bin/ld: ERROR: /usr/lib/libSDL.so uses FPA instructions, whereas VisualBoyAdvance does not
/zgcc/bin/../lib/gcc/armv5tel-cacko-linux/3.4.4/../../../../armv5tel-cacko-linux/bin/ld: ERROR: /usr/lib/libSDL.so uses hardware FP, whereas VisualBoyAdvance uses software FP
/zgcc/bin/../lib/gcc/armv5tel-cacko-linux/3.4.4/../../../../armv5tel-cacko-linux/bin/ld: failed to merge target specific data of file /usr/lib/libSDL.so
collect2: ld returned 1 exit status
I get the above errors when I try to compile VisualBoyAdvance on pdaxrom rc12 on 3100. Ultimately I'm trying to produce an iwmmx enabled VBA but for now I would be happy to see it compile successfully once with normal compiler options. I've tried variations of -Wa,fpu=fpa fpa11 and softvfp. I've tried -msoft-float and -mhard-float.
Either I can't make it past the ./configure step where it tries to produce a C executable or I get all the way through the process and fail at the linking step at the end. Either way I get messages about FPA instructions and hard vs software FPU.
I see that VisualBoyAdvance is in the feeds and I've installed it. Can you guys tell me what options you used to get it to compile in the first place?
I'm using the zgcc you posted a little while back (3.4.4) on the cramfs image. I am not using a cross compiler. I'm compiling on the Z directly.
Thanks,
--Chris