MacOSX64位机器上gcc编译32位x264静态库

x264最新包地址:http://www.videolan.org/developers/x264.html

编译命令:

./configure --enable-static --host=i386-apple-darwin

--host选项请参考一下连接

http://gcc.gnu.org/install/specific.html
http://airs.com/ian/configure/configure_6.html#SEC39

The `--build' option is used to specify the configuration name of the build system. This can normally be the result of running the `config.guess' shell script, and it is reasonable to use `--build=`config.guess`'.

仅作记录参考

原文地址:https://www.cnblogs.com/lovelylife/p/5212337.html