一:编译ARM平台的mysql
1.安装交叉编译器,这里用的是4.3.2
检测交叉编译环境方法:arm-linux-gcc –v
root@ubuntu:/#arm-linux-gcc -v
Using built-inspecs.
Target:arm-none-linux-gnueabi
Configured with:/scratch/julian/lite-respin/linux/src/gcc-4.3/configure–build=i686-pc-linux-gnu --host=i686-pc-linux-gnu–target=arm-none-linux-gnueabi --enable-threads --disable-libmudflap–disable-libssp --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld–enable-languages=c,c++ --enable-shared --enable-symvers=gnu–enable- __cxa_atexit --with-pkgversion=‘Sourcery G++ Lite 2008q3-72’–with-bugurl=https://support.codesourcery.com/GNUToolchain/ --disable-nls–prefix=/opt/codesourcery – with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc–with-build-sysroot=/scratch/julian/lite-respin/linux/install/arm-none-linux-gnueabi/libc–with- gmp=/scratch/julian/lite-respin/linux/obj/host-libs-2008q3-72-arm-none-linux-g