[Ffmpeg-devel] [PATCH] Fix/Allow cross compilation on Mac OS X with latest development tools
Graham Booker
ffmpeglist
Fri Jul 7 14:52:38 CEST 2006
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):
?
- Graham
More information about the ffmpeg-devel
mailing list