[vlc-devel] Re: FLV and UB for OSX
Le Stang Jean-Baptiste
lists at lestang.org
Wed Sep 20 14:11:19 CEST 2006
I gave a try at creating a UB from the Intel and PPC (v0.8.5)
version and I wrote the following shell script.
for i in `ls $INTELROOT/Contents/MacOS/lib/`
lipo $INTELROOT/Contents/MacOS/lib/$i $PPCROOT/Contents/
MacOS/lib/$i -create -output $UBROOT/Contents/MacOS/lib/$i
for i in `ls $INTELROOT/Contents/MacOS/modules/`
lipo $INTELROOT/Contents/MacOS/modules/$i $PPCROOT/Contents/
MacOS/modules/$i -create -output $UBROOT/Contents/MacOS/modules/$i
lipo $INTELROOT/Contents/MacOS/VLC $PPCROOT/Contents/MacOS/VLC -
create -output $UBROOT/Contents/MacOS/VLC
To create a UB from two (or more) object files, you have to use
'lipo' (very funny name when you know that a UB is also called a FAT
binary :p). I really think that creating the UB can be done after
making the PPC and Intel version and then creating the final assembly
(but I'm not 100% sure about this)
As expected the binary is then kind of enormous , here I have a 62
Mb file. I've uploaded a UB version of VLC onto my web server but I'm
not able to try the Intel version, but on PPC, the UB is working so
far fine. Can anyone give it a try with a MacTel?
Jean-Baptiste LE STANG
On Sep 20, 2006, at 10:16 AM, Jérôme Decoodt wrote:
>> current Mac version of VLC (0.8.5): FLV support is really shaky and
>> the application is not a universal binary yet.
> AFAIK, we are not going to publish Universal Binaries. This is due
> to to
> size which would be to big for us. Btw, we already have Intel an PPC
> support, so I guess it would not be too hard to add a flavour UB in
> Makefile... If you know how to do it, feel free to send us a patch!
> Thanks in your interest in VLC media player.
> Jérôme Decoodt
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel