On 27-Nov-06, I recompiled Sox for the SL5500 Zaurus, which has a StrongARM CPU (SL-C860 has an XScale). I added support for mp3 encoding and decoding. The SL5500 binaries will run on the SL5500 or SL-C860; the SL-C860 version will not run on the SL5500.
The rather long configure commandline that I used to compile the SL5500 Sox:
./configure --prefix=${PWD}/../installed \ --host=armv5tel-cacko-linux \ CFLAGS="-march=armv4 -mtune=xscale" \ LDFLAGS="-L${PWD}/lame-3.97/libmp3lame/.libs -L${PWD}/libmad-0.15.1b/.libs" \ CPPFLAGS="-I${PWD}/libmad-0.15.1b -I${PWD}"The non-SL5500 Sox differs in that I didn't specify -march=armv4 or -mtune=xscale, so the compiler defaulted to armv5tel. I'd symlinked 'lame-3.97' to a previously-compiled version of LAME, and 'libmad-0.15.1b' to the libmad source dir. I had to mess around with this a bit to get the Sox configure script to see the libs and includes.
I should maybe mention that although I used the Cacko compiler (from pdaXrom), my SL5500 is running OpenZaurus and my SL-C860 runs Cacko-Qt. 'Cacko' was originally pdaXrom, I think.
Supported file formats for the non-SL5500 sox (12.18.1):
aiff al au auto avr
cdr cvs dat vms gsm hcom la lu maud nul ossdsp prc raw sb sf sl smp sndt sph
8svx sw txw ub ul uw voc vox wav wve
Supported file formats for SL5500 sox (12.18.1) are the same as above, with the addition of 'mp3'.
Files:
sox-arm-12.18.1.tar.gz Tarball of binaries sox-sl5500-installed.tar.gz Sox (and libs) for the SL5500 config.log ARM cross-compiler config log (non-SL5500 Sox). monkey.au Test sample provided with Sox package monkey.wav Another test sample sox-12.18.1.tar.gz Original source codemd5sums:
19e67d194baafeaa42bbe76bf8fb3bf4 config.log 9e79db22de27309366b0ae898106be90 monkey.au 66bf7b57ae498ca36728b26a35904b03 monkey.wav b12507493d3c8571fa8b6e70a01d5438 sox-12.18.1.tar.gz df36685e7b0c79460a31e798030d2e4f sox-arm-12.18.1.tar.gz e86dfc95531d7088df0da925c2ed5c80 sox-sl5500-installed.tar.gz Return to homepage