![]() ![]() |
Oct 14 2005, 09:17 AM
Post
#1
|
|
|
Group: Members Posts: 18 Joined: 22-June 05 Member No.: 7,416 |
QUOTE CODE 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 |
|
|
|
Oct 15 2005, 01:33 AM
Post
#2
|
|
![]() Group: Members Posts: 1,099 Joined: 17-December 03 From: Athens, Greece Member No.: 1,210 |
have you mounted the image in /opt/native... etc (search other thread)?
Otherwise you will hace problems. (the image has the sdl header and you should not have to add a -I/usr/include/SDL) Have you installe sdl from this feed: http://212.10.30.205/rc12/Zaurus-C1000-C3100/feed/ ? |
|
|
|
Oct 15 2005, 05:05 AM
Post
#3
|
|
|
Group: Members Posts: 388 Joined: 7-December 03 Member No.: 1,058 |
QUOTE(crstophr @ Oct 14 2005, 09:17 AM) QUOTE CODE 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 remove option "-WA,-mfpu=softvfp", that is default mode for pdaXrom toolchains. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 19th May 2013 - 03:00 AM |