Small. Fast. Reliable.
Choose any three.
*** 121,127 ****
  
  *Crosscompile linux x86 -> linux arm*
  
! 1. Install skiff toolchain or similar, make shure you have arm-linux-gcc in your PATH.
  
  2. Unpack sqlite sources and create a directory _sqlite-arm_ in the same dir.
  
--- 121,139 ----
  
  *Crosscompile linux x86 -> linux arm*
  
! With version 3.3.7 (don't know about other versions) I have figured out how to get configure to work without following the previous procedure defined below which required editing files.
! 
! The problem with the configure script is primarily that it doesn't give you a way to specify that you don't have readline for the target. This could easily be fixed if someone wants to tackle it by supporting a --without-readline option that skipped the readline checking and set TARGET_HAVE_READLINE to 0. The other problem is that you have to explicitly tell configure the compiler for both build and target.
! 
! Here is the command line I used to configure sqlite3.3.7 for cross compiling to arm-linux:
! 
!    ../configure --host=arm-linux config_BUILD_CC=gcc config_TARGET_CC=arm-linux-gcc --disable-tcl config_TARGET_READLINE_INC=" "
! 
! Setting config_TARGET_READLINE_INC to something makes it skip looking for readline.h, which is what causes problems when cross compiling.
! 
! *Previous procedure*
! 
! 1. Install skiff toolchain or similar, make sure you have arm-linux-gcc in your PATH.
  
  2. Unpack sqlite sources and create a directory _sqlite-arm_ in the same dir.