GCC is the GNU Compiler Collection. It's the de facto standard C compiler on Linux and older versions of OS X.

learn more… | top users | synonyms

2
votes
1answer
419 views

GCC : Command not found

I'm very new to Mac and right now my operating system is 10.10 Yosemite. I installed XCode and Xcode CLT, gcc came along with it as well. I was asked to change the default compiler to gcc. I went ...
1
vote
1answer
198 views

how to debug configure.sh errors when compiling rsync on Yosemite

I am trying to build myself a new version of rsync 3.1.1 under Mac OS 10.10.3, as the mac comes with an older version, and the project does not distribute binaries. I followed this simple script but ...
1
vote
1answer
49 views

Use specific local gcc and related libraries with Homebrew

I would like to use Homebrew to install some stuff, In the mean time, I have already installed my local gcc, and I want Homebrew to use this specific one (this gcc at /usr/local/bin/gcc is frequently ...
0
votes
1answer
459 views

GCC 4.7 (via brew) keeps including from “/usr/include/c++/4.2.1”

This one is driving me crazy: I need to use lot of stuff which simply does not compile with the standard clang/llvm compilers which come with Xcode 5 (on Mac OS X 10.8), so I decided to install gcc47 ...
1
vote
0answers
65 views

Command line tool installed, but gcc/g++ compiler not working

Heads up, I have a similar problem such as in this question, but it wasn't resolved: how to debug configure.sh errors when compiling rsync on Yosemite So basically I am looking to compile code via ...
1
vote
0answers
66 views

what is difference between gcc version and Xcode gcc version?

This maybe a little silly question but I am very confused executing pkgutil in shell I get $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables package-id: com.apple.pkg.CLTools_Executables ...
1
vote
0answers
296 views

Install multiple different versions of Xcode

I am on Yosemite and trying to compile a software package using g++. Compiling this particular package has previously worked on Mountain Lion under Xcode 4.6.3, but now I have Xcode 6.1.1, and the ...
1
vote
0answers
51 views

MAC HPC GNU or MAC PORT GNU

I have been using the gcc compiler from http://hpc.sourceforge.net/index.php for 6 years. Unfortunately they are not using the most up to date compiler. I have already installed gcc 4.8.3 from mac ...
0
votes
0answers
307 views

Homebrew default compiler

I have read similar topics here, but unfortunately these solutions does not help me. I would like to recompile all installed software (or at least some formulas) from Homebrew using gcc from ...
0
votes
0answers
58 views

building gcc 4.9.2 with Java enabled; command top_builddir not found

Building gcc fails if Java is enabled and the command make is run from another make file (an automation script). The process run smoothly if Java is either not enabled or when i goto build directory ...
0
votes
0answers
106 views

OSX 10.9: GCC standalone (non-admin)

I have a Mac Mini at home, with my own administrator account. My school provides MacBook Airs. I have XCode installed on the Mini, but I only use the command line extensions-- GCC, G++, etc. I don't ...
0
votes
0answers
61 views

how to build mysqlsniffer in os x 10.9

I'm trying to build that (hackmysql.com/code/mysqlsniffer.tgz) in my mac. I see only errors during compilation. I understand that is because of some gcc keys/options. Based on Google search i've ...