【发布时间】:2018-06-07 13:17:52
【问题描述】:
我正在尝试为 cortex A6 - armv7 平台编译 PHP 5.6.36(在 PHP 网站上下载)。
我这样配置编译器:
./configure --host=arm CC="arm-gad-linux-gnueabi-gcc -march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9 --sysroot=/opt/gad/1.0.0/sysroots/cortexa9hf-vfp-neon-gad-linux-gnueabi" --disable-dom --without-iconv --without-openssl --without-pear --without-sqlite3 --disable-pdo --without-pdo-sqlite --disable-phar
但我收到此错误:
checking for strcasestr... configure: error: in `/home/PHP/php-5.6.36':
configure: error: cannot run test program while cross compiling
问我是否需要更精确。
感谢您的帮助,
【问题讨论】:
标签: php cross-compiling armv7 cortex-a