[vlc-devel] Help build VLC cross platform
Felix Paul Kühne
fkuehne.videolan at googlemail.com
Tue Apr 6 12:05:46 CEST 2010
It is impossible to cross-compile VLC for Mac on a non-Mac operating
system. The API used by this port is limited to the specific platform
and there is no supported SDK for Linux or even Win32.
Therefore, you will need a Mac to do the Mac binaries. While you're at
it, you can cross-compile your Win32 builds on a Mac as mingw32 is
available using MacPorts. Limited information is available on <http://wiki.videolan.org/Win32Compile
>, but in fact it's pretty straight forward:
1) install MacPorts (or DarwinPorts if you prefer)
2) install the mingw32 environment using MacPorts
3) get VLC's source
4) compile the contribs with the correct bootstrap argument ("i586-
mingw32msvc" as far as I remember)
5) compile VLC with --host=i586-mingw32msvc
6) package your build
Of course, you can do the same Win32 builds on Linux as well. A bit
more on the configure flags is available on the mentioned wiki page.
Hope this helps.
More information about the vlc-devel