1
vote
1answer
67 views

Compile error OSX

I'm trying to compile a program called PEAR enter link description here and seems there is something wrong at this step. I have Xcode installed. Thanks for your help, Bernardo ...
0
votes
2answers
135 views

switch back to clang after installing gcc through Macports on Mavericks

After I installed Macports (and after that I have installed several versions of gcc through Macports), whenever I type gcc, one of those gcc installed through Macports will be invoked. Before I ...
1
vote
1answer
2k views

Uninstall OSX-gcc-installer without first installing Xcode

Is there a way that I can uninstall osx-gcc-installer without first having to install Xcode, then run sudo /Developer/Library/uninstall-devtools —mode=all ? I installed it on Mountain Lion, and I ...
3
votes
1answer
5k views

No GDB in the new Command Line Tools (OS X Mountain Lion) for Xcode - September 2013?

I've recently formatted my Mac and when I reinstalled the command line tools, I installed the new Command Line Tools (OS X Mountain Lion) for Xcode - September 2013. I've just typed gdb in my ...
0
votes
1answer
2k views

Where to find ARM GCC compiler in XCODE5?

I am trying to run kivy on Mac and it relies on my Xcode arm gcc compiler. I already tryied to answer this question in a stackoverflow question but here I we again... Where to find the arm apple ...
4
votes
4answers
9k views

How to set gcc 4.8 as default gcc compiler

I recently installed gcc 4.8 using brew on OSX 10.7.5 (Lion). I can now compile using gcc 4.8 by using g++-4.8 some_file.c or using the default gcc 4.2 by using g++ some_file.c I want to use gcc ...
2
votes
1answer
77 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
574 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
259 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
204 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 ...
19
votes
2answers
9k views

How to compile mod_wsgi, mod_fastcgi, etc on Mountain Lion (Mavericks) by fixing `apxs:Error: Command failed with rc=65536`?

I've updated to OS X Mountain Lion. Update has removed all of my python and apache modules including mod_wsgi. Now I'm trying to recompile mod_wsgi (it compiled without problems on Lion). I use ...
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
4k 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
7k 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 -> ...
7
votes
2answers
11k 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 ...
10
votes
3answers
6k 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 ...
50
votes
5answers
66k views

How do I install GCC via Homebrew?

I am using Homebrew exclusively (i.e. I don’t, and won’t, use MacPorts or Fink). I also want to keep manual installations to a bare minimum.1 … But how can I install GCC? First of all, I’ve of ...