./configure CC=arm-linux-gnueabihf-gcc --host=arm-linux --prefix=/home/am3358x \
ac_cv_file__dev_zero=yes ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes \
apr_cv_mutex_robust_shared=yes apr_cv_tcp_nodelay_with_cork=yes ap_void_ptr_lt_long=no./configure CC=arm-linux-gnueabihf-gcc --host=arm-linux --prefix/home/am3358x/arm/ \
--with-apr=/home/pj/kevin/workspace/cross_compile/arm/bin/apr-1-config
make./configure --host=arm-linux --prefix=/home/am3358x/arm/ CC=arm-linux-gnueabihf-gcc \
CXX=arm-linux-gnueabihf-g++ AR=arm-linux-gnueabihf-ar STRIP=arm-linux-gnueabihf-strip \
RANLIB=arm-linux-gnueabihf-ranlib LD=arm-linux-gnueabihf-ld./configure --prefix=/home/am3358x --host=arm-linux CC=arm-linux-gnueabihf-gcc \
--with-apr=/home/am3358x/arm/bin/apr-1-config \
--with-apr-util=/home/am3358x/arm/bin/apu-1-config --with-included-apr \
--with-pcre=/home/am3358x/pcre/bin/pcre-config \
--enable-so --with-mpm=prefork ac_cv_file__dev_zero=yes \
ac_cv_func_setpgrp_void=yes apr_cv_process_shared_works=yes \
apr_cv_mutex_robust_shared=yes apr_cv_tcp_nodelay_with_cork=yes \
ap_void_ptr_lt_long=no ap_cv_void_ptr_lt_long=no --enable-module=so --enable-mods-shared=all \
--enable-expires=shared --enable-rewrite=shared --enable-headers --enable-cache\
--enable-file-cache --enable-mem-cache --enable-disk-cache --enable-mime-magic --enable-authn-dbm\
--enable-vhost-alias ap_cv_apuver12=yes
然后就是make和 make install