Marco Pietrosanto
Marco Pietrosanto

Reputation: 420

Command line tools download in Xcode disappeared after Mavericks

After having installed Mavericks I got this problem on a code that compiled without problems before.

xcode-select --install triggers the installation without any strange problems,

yet when I try to build something with Eclipse it gives me

"Include path not found (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/include)"

Infact in /Applications/Xcode.app/Contents/Developer/usr/ there's no llvm-gcc-4.2.

How can I fix this?

Upvotes: 3

Views: 2854

Answers (2)

zaph
zaph

Reputation: 112857

On my system in terminal:

/usr/bin/llvm-gcc-4.2
produces:
/usr/bin/llvm-gcc-4.2

/usr/bin/llvm-gcc-4.2
is linked to :
/usr/llvm-gcc-4.2/bin/llvm-gcc-4.2

Also
$ which llvm-gcc
produces:
/usr/bin/llvm-gcc
and
/usr/bin/llvm-gcc is linked to /usr/bin/clang

Note that Apple no longer provides llvm-gcc as an option in Xcode so perhaps it is no longer supplied as a command-line tool.

Upvotes: 1

Meligordman
Meligordman

Reputation: 75

I had problems with the command line tools as well after upgrading to Mavericks, despite having updated Xcode, and I am quite sure I also installed the command line tools. Still, you can add them "by hand" downloading from apple site. I am not sure if it is any sort of bug of such, but anyway, I recommend you to download the latest Mavericks' Command Line Tools (late October) on Apple's developer site (needs free registration)

Upvotes: 0

Related Questions