*** 119,143 **** ===== ! *Crosscompiling on linux x86 for linux arm* ! ! 1. Make sure you have installed your favorite toolchain and that arm-linux-gcc's location is part of your PATH ! ! 2. Find out where the toolchain keeps it's own includes like math.h, you'll need them in step 4; if you get this wrong, the make step will fail on some missing header (likely to be math.h) ! ! 3. Switch to the unpacked sqlite sources' location ! ! 4. Configure sqlite by executing: ! _:CC=arm-linux-gcc CXX=arm-linux-g++ CFLAGS=-I<TOOLCHAIN/INCLUDE> BUILD_CC=gcc \ ! _::./configure --host=i686-linux --target=arm-linux --disable-shared --disable-tcl --prefix=$MY_INSTALL ! ! 5. After configure has finished, the generated Makefile will contain a wrong reference to the compiler used to build the tools; you can correct this with something like sed 's/^BCC.*/BCC = gcc/', in other words BCC should be defined as the regular compiler on your host machine, not as the crosscompiler ! ! 6. You can now run make ! ! ===== ! ! *Crosscompile linux x86 -> linux arm*, older version 1. Install skiff toolchain or similar, make shure you have arm-linux-gcc in your PATH. --- 119,125 ---- ===== ! *Crosscompile linux x86 -> linux arm* 1. Install skiff toolchain or similar, make shure you have arm-linux-gcc in your PATH.