nginx采用交叉编译问题
checking whether we are cross compiling... configure: error: in `/home/itachi/mosha_share/pcre-8.32':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
make[1]: *** [/home/itachi/mosha_share/pcre-8.32/Makefile] 错误 1
make[1]:正在离开目录 `/home/itachi/mosha_share/nginx-1.4.0'
make: *** [build] 错误 2
在 ./configure -host=/usr/local/arm-2010.09/bin/arm-none-linux-gnueabi-gcc 的后面添加了 --host=x86_64 还是不行 求解
为了稳定,我特意下的比较旧的版本。参考文档:
http://wenku.baidu.com/link?url=MyuOpeBq1aoaAUVqJ3QYfJ3fQ2zYFaDH9uuiy8h0gW92Yshb7pqGvoRTeG8Mzh0_mTsyRsFp8oh8vK-zuT81XyDD_FT48IOoUydPm1lkWZ7