在mac机上, 为iPhone版本编译产品. 运行./configure报错如下: configure:22793: error: cannot run test program while cross compiling See `config.log' for more details 原因: aclocal/xx.m4中, 有如下代码: AC_RUN_IFELSE([AC_LANG_PROGRAM([], [// ...])], [var="a"], [var="b&q…
Alex Suykov had do some work for this purpose, and my compile script is based on her patch. Steps Step 1: Download perl source code from perl's official site, such as: wget http://www.cpan.org/src/5.0/perl-5.20.2.tar.gz Step 2: Download the correspon…