2
votes
1answer
45 views

What is the relationship between the OS release, the XCode release, and the default compiler?

If you run: 'cc --version' or 'c++ --version' on a modern OS X with XCode and the command line tools installed (in my case, Mountain Lion with XCode 4.6.x) you will see that the default C ...
1
vote
1answer
42 views

How do I specify what is used as the real C compiler?

I have a configure on Mountain Lion that's running into trouble: [snip] checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc checking whether the C ...
-1
votes
1answer
145 views

gcc vs. llvm, compiling c++ code, migrating from linux [closed]

i'm migrating from linux machine to mac os x. I was used to write c++ application (for opengl and opencv application mainly) using vim as editor. Now, i have installed XCode on a new 10.8 mac os x ...
0
votes
1answer
144 views

(new) Compiler for (old) XCode

My OS X does not allow me to update to current XCode software. With the new XCode and iOS SDK, the sourcecode is compiled with a newer compiler which has some new syntax options which are missing on ...
8
votes
1answer
2k views

Why does it appear that I apparently “do not have access to Command Line Tools” in ML?

I just upgraded to Mountain Lion, and now gcc, make, g++, etc. are not found when trying to launch them in Terminal. So I went to Xcode Preferences, Downloads, and clicked "Install" next to Command ...
0
votes
2answers
3k views

Xcode update for 10.6.8

I would like to use a newer version of Xcode (current version on my system is 3.2.4) and the command line tools (gcc & make). I have tried to install Xcode through the Mac App Store, however I ...
1
vote
3answers
3k views

Where can I find gcc in Xcode 3.2.6?

I have a Mac with OS X 10.6.8 Snow Leopard. I'm trying very hard to learn the basics of programming in C, but I can't get my first simple program to run. I read online to go to Xcode Preferences -> ...
6
votes
2answers
7k views

GCC not found, but Xcode is installed

I have Xcode installed, but when I type gcc in terminal I get "command not found". Maybe I messed up the $PATH variable? What is suposed to be the default value? EDIT: (...):/ imac2$ echo $PATH ...
8
votes
3answers
3k views

I installed Xcode but I still don't have gcc in my terminal

I just got a Mac and I'm a complete newbie, so this may be kind of a really easy question, but I wasn't able to solve it with Google or F1. I was trying to run a C program from the Terminal that ...