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 bought a new Macbook Pro. Like linux, it has a bash shell. However, I did not find gcc or g++ in there. Is it in there somewhere, or is there some kind of package manager that will allow me to easily add it in?

share|improve this question

2 Answers 2

up vote 10 down vote accepted

You need to install the XCode tools from here.

share|improve this answer
4  
You shouldn't need to download XCode - it should be on your install disk under Optional Installs. –  Steve Folly Feb 4 '10 at 6:32

In XCode, go to the XCode menu, followed by Preferences, Downloads, and then click on the Install button.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.