0
votes
1answer
229 views

How do I install GCC and make on a mac without administrator access or using Xcode?

I'd like to install gcc and make on my Macbook Air, but I don't have root access on it. I found this link through searching on google, but I have no idea how to set up the prefix's so that the actual ...
1
vote
4answers
5k 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
2answers
831 views

What build flags are available for brew install of gcc?

I'm curious as to what build flags are available to me when installing gcc 4.8 using brew. This question explains how to install gcc 4.8 using brew, but only specifies two possible flags i.e ...
7
votes
2answers
10k 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 ...
44
votes
4answers
55k 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 ...