Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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