Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mac OS X Lion has no /Developer/usr folder

I have been fiddling around trying to get Eclipse for C++ working on Mac OS X Lion.

I have downloaded Xcode 4.3, so there should be a /Developer/usr folder with gcc, g++, make and other compiler commands. However, while I have a /Developer folder, I do not have a /Developer/usr folder anywhere.

Where can I get this from? I think it may have disappeared when I attempted to symlink the contents of /Developer/usr/bin to the default /usr/bin for Eclipse to use. Not sure if this can even happen.

This has driven me crazy for about a week now!

like image 360
user1223103 Avatar asked Feb 21 '12 10:02

user1223103


2 Answers

/Developer was moved to /Applications/Xcode.app/Contents/Developer in Xcode 4.3.

like image 106
Ferruccio Avatar answered Sep 29 '22 15:09

Ferruccio


Install "Command Line Tools" from "Download Preferences" in Xcode 4.3 and above.

enter image description here

like image 44
Dimme Avatar answered Sep 29 '22 14:09

Dimme