[Ffmpeg-devel] compile for OSX universal

Patrice Bensoussan patrice.bensoussan
Sat Mar 3 11:05:38 CET 2007


On 3 Mar 2007, at 08:36, Diego Biurrun wrote:

> On Fri, Mar 02, 2007 at 11:43:39PM -0800, Bruce Johnson wrote:
>> I'm on my way to getting something working,  But I am still getting a
>> few errors, the configure settings that I'm using are:
>>
>> configure --enable-universal
>
> Whatever you are using, it's not FFmpeg proper.

Here is what I am using:

configure  --cross-compile --arch=i386 --extra-ldflags='-isysroot / 
Developer/SDKs/MacOSX10.4u.sdk -arch i386' --extra-cflags='-isysroot / 
Developer/SDKs/MacOSX10.4u.sdk -arch i386

It should create a proper intel binary.

Then use lipo to create a universal binary.

Patrice





More information about the ffmpeg-devel mailing list