From 147861542911a78419f6fe2a0c16eb94c7a95b49 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 8 Jul 2012 12:21:47 -0500 Subject: Display compiler build numbers in config dump But only display them if they are out of sync with the corresponding Xcode version. Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/--config.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/cmd/--config.rb b/Library/Homebrew/cmd/--config.rb index 02e8021b9..f78c31f79 100644 --- a/Library/Homebrew/cmd/--config.rb +++ b/Library/Homebrew/cmd/--config.rb @@ -92,6 +92,13 @@ module Homebrew extend self puts "Xcode: #{describe_xcode}" puts "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby:\n #{RUBY_VERSION}-#{RUBY_PATCHLEVEL}" if RUBY_VERSION.to_f != 1.8 + unless MacOS.compilers_standard? + puts "GCC-4.0: #{gcc_40 ? "build #{gcc_40}" : "N/A"}" + puts "GCC-4.2: #{gcc_42 ? "build #{gcc_42}" : "N/A"}" + puts "LLVM: #{llvm ? "build #{llvm}" : "N/A"}" + puts "Clang: #{clang ? "#{clang} build #{clang_build}" : "N/A"}" + end + ponk = macports_or_fink_installed? puts "MacPorts/Fink: #{ponk}" if ponk -- cgit v1.2.3