Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to install QtCreator on my MacProbook (10.7.4). QtCreator needs gcc. Can any one suggest how to install gcc on Mac 10.7.4

share|improve this question

migrated from stackoverflow.com Oct 19 '12 at 11:39

This question came from our site for professional and enthusiast programmers.

    
Does it require gcc or just a c++ compiler - OSXs default is clang++ – Mark Oct 19 '12 at 9:41

Installing Command Line Tools for Xcode will get you gcc. Another way is using homebrew.

share|improve this answer
1  
macports needs the command line tools as well – Mark Oct 19 '12 at 9:40
    
Oh, thanks for the notice. Removed macports from the answer. – jweyrich Oct 19 '12 at 18:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.