I'm trying the SDK tutorial at
http://www.pdaxrom.org/index.php?showid=35&menuid=1I tried the newvox sample on my SuSE Linux10(x86) host. I'm using the C750 SDK and it seemed changed a little bit, so I adjusted the commandline provided in tutorial like this:
LDFLAGS="-Wl,-rpath-link,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/X11R6/lib" ./configure --host=armv5tel-cacko-linux --build=i686-linux --x-includes=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/X11R6/include --x-libraries=/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/X11R6/lib --disable-debug --prefix=/usr/local
I'm not sure about the /X11R6/ part because I can't find it in the SDK folder. Anyway, the output is as follows:
checking whether the C compiler (gcc -Wl,-rpath-link,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/X11R6/lib) works... yes
checking whether the C compiler (gcc -Wl,-rpath-link,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/X11R6/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for sdl-config... /opt/cross/arm/3.4.5-xscale-softvfp/bin/sdl-config
checking for SDL - version >= 1.0.1... no
*** Could not run SDL test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means SDL was incorrectly installed
*** or that you have moved SDL since it was installed. In the latter case, you
*** may want to edit the sdl-config script: /opt/cross/arm/3.4.5-xscale-softvfp/bin/sdl-config
configure: error: *** SDL version 1.0.1 not found!
It seems like the compiler is working. But it says "no" on:
checking whether the C compiler (gcc -Wl,-rpath-link,/opt/cross/arm/3.4.5-xscale-softvfp/armv5tel-cacko-linux/X11R6/lib) is a cross-compiler.
Am I using the wrong parameters?
Also, do I need to compile SDL before compiling newvox? The SDK installation page says the SDK contains SDL, though.