[vlc-devel] [RFC][PATCH 0/2] Update contrib's Mac OS X configurations.

Faustino E. Osuna enrique.osuna at gmail.com
Wed Dec 14 21:35:24 CET 2011

Unlike the previous two patch sets, this one is not so trivial.

I'm looking for feedback as to whether this would be a good approach to move
forward or not. To begin with, I've tested these patches 10.7 Xcode 4.2 (4D199)
and 10.5 Xcode 3.1.4 (9M2809). My 10.6 does not want to cooperate with me
today. Also note, on 10.5 compiling the contribs were a piece of cake
(compiling the main project is a different story, but is unrelated to these

This patch set eliminates the need to explicitly set the compilers and
additional development tools (ar, ld, strip, & ranlib).

It is my understanding that on Xcode 4.2.1, Apple's default compiler
(/usr/bin/gcc) is no longer GCC 4.2 and it wreaks havoc when trying to compile
the contribs. The first patch checks to see that the compilers referenced CC
and CXX environment are at least version 4.2.x.

The second patch eliminates the explicit assignment of AR, LD, STRIP and
RANLIB. I didn't understand the history behind why they were previously set.

I look forward to any feedback.


Faustino E. Osuna (2):
  contrib: check os x gcc v4.2 before overriding
  contrib: respect the default tools for osx

 contrib/src/main.mak |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)


More information about the vlc-devel mailing list