[vlc-devel] VLC on OS X and LLVM

Derk-Jan Hartman hartman at videolan.org
Mon Apr 6 19:07:53 CEST 2009


On 6 apr 2009, at 18:01, Maximilian Nickel wrote:

> Hi,
> i created a port of VLC for the MacPorts-Project and have question  
> about compiling VLC on OSX. Your documentation states here: http://wiki.videolan.org/OSXCompile 
>  that LLVM is needed to compile VLC on OSX. Since LLVM is quite a  
> big compilation i checked if it is really necessary and tried to  
> compile VLC with gcc-4.0.
> Everything compiled fine and simple usage test was ok too. So now  
> i'm wondering if that wiki page i mentioned above is just outdated  
> or am i missing something?

The wiki guide is for current git (which is vlc 1.0.0). 1.0.0 only  
functions properly with the llvm compiler, but compiles with gcc-4.  
0.9.* should be compiled with gcc-4

> A second point i'd like to mention is, that i had to patch your  
> Makefile. First of all "make" triggers an automatic "make install"  
> on OSX since the target VLC.app is included in the target all.
> Second the Makefile assumes an existing .git directory which of  
> course is not present in the tarball and thus errors out.
> You can get the patch for the Makefile here: http://trac.macports.org/attachment/ticket/15389/VLC-Makefile.in.diff

We will take a look at this.


> Thanks
> /max
>
> P.S: In case you use MacPorts and want to test the port, the  
> complete ticket is here: http://trac.macports.org/ticket/15389  
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel




More information about the vlc-devel mailing list