On Jul 15, 2011, at 10:47, Jeremy Lavergne wrote:

>> Knowing which gcc has been selected (if any) might be interesting. The
>> other can be derived from the Xcode version (you are reporting that I
>> hope?)
> 
> Correct, Derek is currently setting:
> * macports_version
> * osx_version
> * os_arch
> * os_platform
> * build_arch
> * gcc_version
> * xcode_version

"gcc_version" should perhaps be reconsidered, especially now, when Apple is 
moving away from using gcc at all. In MacPorts 2.0, the default compiler is 
chosen based not on OS version but Xcode version, so for Snow Leopard with 
Xcode 4, the default compiler will not be gcc but llvm-gcc. With Lion, it'll be 
llvm-gcc or clang. We might well want to know the version of llvm-gcc or clang, 
but it would be odd to see it in a field called "gcc_version".

What version of gcc the user has selected should be irrelevant except for ports 
which don't ensure they're UsingTheRightCompiler.

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to