# configure for i386 build
./configure \
--cc=/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc \
--as='gas-preprocessor.pl /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc' \
--sysroot=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk \
--extra-ldflags=-L/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/usr/lib/system \
--target-os=darwin \
--arch=i386 \
--cpu=i386 \
--extra-cflags='-arch i386' \
--extra-ldflags='-arch i386' \
--prefix=compiled/i386 \
--enable-cross-compile \
--disable-armv5te \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffserver \
--disable-ffprobe \
--disable-doc
下面將爲i386構建ffmpeg靜態庫。但我不知道該選項的含義,如「--extra-cflags」,「 - extra-ldflags」,「 - sysroot =」,「 - as =」。一個配置的選項,如「--extra-cflags」---我很困惑
誰能告訴我有關這些選項的意思?在那裏我可以找到詳細的解釋?
謝謝。我在等你的幫助。
謝謝恩內斯特,我按照你的幫助。並找到理解這一點的方法。再次感謝。 – Henry