[Ffmpeg-devel] [PATCH] Fix/Allow cross compilation on Mac OS X with latest development tools

Graham Booker ffmpeglist
Fri Jul 7 14:55:52 CEST 2006


Resending since the list stripped the attachment the first time:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-configure-crosscomp.patch
Type: application/octet-stream
Size: 630 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060707/5517d54f/attachment.obj>
-------------- next part --------------

On Jul 7, 2006, at 7:52 AM, Graham Booker wrote:

> I have run into this issue personally as well.  I use the following  
> patch to the configure script.  It splits the compile and link  
> stages into separate commands, but does nothing to the command line  
> options given to the script.  I have personally tested this, and it  
> (finally) produces a configure which can cross compile.
>
> As Patrice said, in order to cross-compile, the -isysroot must be  
> passed to both the linker and the compiler.  If the option is  
> passed twice, even if identically, the compiler fails immediately.   
> This necessitates the need to split up the compile and link  
> stages.  Also, this more closely matches the usage of the compile  
> and link stages within the make, being separate commands there as  
> well.
>
> patch (tested and works with svn 5649):




More information about the ffmpeg-devel mailing list