[MPlayer-dev-eng] [Q] How to build a universal binary for the Mac OS X?

Diego Biurrun diego at biurrun.de
Mon Sep 25 23:08:49 CEST 2006


On Mon, Sep 25, 2006 at 02:23:05PM +0200, Dario Roccati wrote:
> 
> On 25 Sep 2006, at 08:27 , Rich Felker wrote:
> >>
> >>While I was building the mplayer - actually mencoder is my main  
> >>interest -
> >>I found out that I needed a universal binary version. Can anyone  
> >>tell me
> >>how to build it?
> >
> >There's no support for "universal binary" in the build system.
> >Presumably you can build twice, once for x86 and once for ppc, then
> >combine them with some external tools... but why you would want to do
> 
> Given the way mplayer is built, currently there's no other way than  
> build the two versions and then merge them with "lipo(1)".

If you want to see universal binary support added to the build system,
send a patch.  If it is clean I'm willing to apply it.

Diego



More information about the MPlayer-dev-eng mailing list