Currently Being ModeratedSep 23, 2012 12:27 PM (in response to Starz26)
Xcode should be in your Applications folder. If it's not there, enter Xcode in the Finder window's search field. If no Xcode application shows up, Xcode was not installed on your Mac.
Currently Being ModeratedSep 23, 2012 5:17 PM (in response to Mark Szymczyk)
Nothing appears when I enter Xcode in finder. Was your response taking into account that all I installed was the command line tools?
Also, why did the apple installer say installation was successful??
Currently Being ModeratedSep 23, 2012 6:21 PM (in response to Starz26)
My response did not take into account the fact that you didn't install Xcode and only installed the command-line tools. The xcode-select command isn't going to work unless you install Xcode.
If you only installed the command-line tools, look in the following directory for the tools:
The following command should tell you where gcc was installed:
Currently Being ModeratedSep 23, 2012 7:06 PM (in response to Mark Szymczyk)
I was able to get there and ls the contents. What are the files I should be looking for?
Currently Being ModeratedSep 23, 2012 7:26 PM (in response to Starz26)
I don't have an exhaustive list, but some of the files are gcc, g++, gdb, lldb, clang, clang++, llvm-gcc, and llvm-g++. With those files you should be able to compile and debug C, C++, and Objective-C code.
Currently Being ModeratedSep 25, 2012 10:30 AM (in response to Mark Szymczyk)
One last thing.....
xcrun used to work until I began playing with xcode-select --switch
now with the path set to /usr/bin, i get no such file or directory when trying to run xcrun
with the path set to / xcrun just hangs the computer...
given that I only have command line tools installed, what is the correct switch path for xcode so that xcrun will work properly.
Currently Being ModeratedSep 25, 2012 11:47 AM (in response to Starz26)
I have not used xcrun or built Xcode projects from the command line, but a Google search for xcrun provided examples where xcrun was called in the following manner:
/usr/bin/xcrun <rest of xcrun command here>