交叉编译php5

作者:fly 发布于:2016-12-29 17:47 分类:Linux

./configure CC=arm-none-linux-gnueabi-gcc 
CXX=arm-none-linux-gnueabi-g++ 
--host=arm-linux 
--prefix=/usr/local/arm/php5 
--enable-pdo 
--with-sqlite3 
--with-sqlite 
--with-pdo-sqlite=/usr/local/arm/sqlite3 
--with-zlib 
--without-iconv 
--enable-json 
--with-apxs2=/usr/local/arm/apache/bin/apxs 
--with-libxml-dir=/usr/local/arm/libxml2 
--enable-sockets 
--enable-session 
--disable-all

发表评论:

 
Powered by emlog sitemap