Feb 14, 2015 I just had a fresh re-installation of Mac OS X Yosemite before I install Xcode and then CommandlineTools. It seems I have two versions of gcc and g in the following two directories: /usr/bin (both files are 14kb). GCC Bugzilla – Bug 61407 Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3 Last modified: 2017-10-23 07:15:23 UTC. It looks like you have installed your own version of gcc, which probably doesn't work. Apple no longer uses gcc. It uses LLVM instead. There is a GCC compatible front-end called 'gcc' but your custom installation may override that. Generally, just use 'clang/clang' instead of gcc in the future. Compiling and Running C on Mac OS X Yosemite. If you're like me, you find working on the provided Ubuntu VM to be tortuous and inefficient. It's such a shame to be running an operating system with all of the tools to you need to compile and run simple toy C programs but being forced to use a clunky virtual machine without all your favourite software. Thanks to Leo Brewin for reporting a problem on Mac OS X Yosemite (10.10) ('gcc: warning: couldn't understand kern.osversion '14.0.0', followed by undefined symbols UnwindBacktrace etc.) This corresponds to GCC PR/61407; the patch at SVN revision 215690 (compiler parts only) was applied, see gcc-4.9.1-yosemite. Nov 10, 2013 gcc on the latest mac osx is actually clang, which makes impossible to compile a boost-python wrapper compatible with Maya's internal python. In fact the latest python shipped with Yosemite has been compiled with clang. Python 2.7.6 (default, Sep 9 2014, 15:04:36) GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39) on darwin. 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 online to this question here to find out how to do it - How to set gcc 4.8 as default gcc compiler.
You can upgrade to OS Yosemite on any of the following Mac models. Your Mac also needs at least 2GB of memory and 8GB of available storage space.
MacBook introduced in 2009 or later, plus MacBook (13-inch, Aluminum, Late 2008)
MacBook Air introduced in late 2008 or later
MacBook Pro introduced in mid 2007 or later
Mac mini introduced in early 2009 or later
iMac introduced in mid 2007 or later
Mac Pro introduced in early 2008 or later
Xserve models introduced in early 2009
To find your Mac model, memory, storage space, and macOS version, choose About This Mac from the Apple menu . If your Mac isn't compatible with OS X Yosemite, the installer will let you know.
Before installing any upgrade, it’s a good idea to back up your Mac. Time Machine makes it simple, and other backup methods are also available. Learn how to back up your Mac.
Download el capitan from apple. It takes time to download and install OS X, so make sure that you have a reliable Internet connection. If you're using a Mac notebook computer, plug it into AC power.
For the strongest security and latest features, find out whether you can upgrade to macOS Catalina, the latest version of macOS.
If you still need OS X Yosemite, use this link: Download OS X Yosemite. A file named InstallMacOSX.dmg will download to your Mac.
Double-click the downloaded file to open a window showing its contents. Then double-click the file within, named InstallMacOSX.pkg.
Follow the onscreen instructions, which will guide you through the steps necessary to install.

After installation of the installer is complete, open the Applications folder on your Mac, then double-click the file named Install OS X Yosemite.
Click Continue and follow the onscreen instructions. You might find it easiest to begin installation in the evening so that it can complete overnight, if needed.

Please allow installation to complete without putting your Mac to sleep or closing its lid. Your Mac might restart, show a progress bar, or show a blank screen several times as it installs both OS X and related updates to your Mac firmware.
If you're like me, you find working on the provided Ubuntu VM to be tortuous and inefficient. It's such a shame to be running an operating system with all of the tools to you need to compile and run simple toy C programs but being forced to use a clunky virtual machine without all your favourite software. Here's what I do to ease the pain.
This guide was tested on Mac OS X 10.10 Yosemite, but should also work on any version of OS X that Homebrew supports. It should work just fine on Mavericks, plus you get access to valgrind. (valgrind hasn't been ported to 10.10 yet, but it does work on 10.9)
By default, if you have Xcode installed, typing gcc into Terminal.app links to the llvm/clang compiler. Although clang is a great, modern compiler it isn't what's specified by the professor and could potentially lead to incompatible code (and lost marks). To avoid this, we can install and run the same (*a slightly newer) version of gcc natively on our Macs.
If you don't already have Homebrew installed, go ahead and do that now. For those of you familiar with Linux package managers, Homebrew is essentially Aptitude (apt-get) for OS X.
From brew.sh:
The installer will guide you through installing any missing dependencies you may have. (Commonly Xcode tools)
Once Homebrew is installed,brew install gcc
And that's pretty much it. But you have to watch out; gcc is actually just clang plus some extra libraries, you need to run gcc-4.9 instead.
Notice how gcc -v spits out something like
Which, clearly, isn't what we want. Notice the slight difference between clang -v and gcc -v.
Whereas gcc-4.9 -v should show something like
Note: if gcc-4.9 isn't being found, try opening a new shell. The $PATH sources need to be refreshed.
It's probably a bad idea to alias gcc to gcc-4.9 because some programs (Homebrew included) may expect clang. Instead, I suggest using Makefiles to easily specify your compiler.
ALWAYS test your code in the provided VM before submitting! You have been warned.
Another option is just to use what's included with your system. llvm/clang is a very capable, modern compiler and can, for the most part, compile the exact same code that works in gcc, at least in the scope of COMP 2401.
gcc (clang) appears to compile everything as C++ code, so you'll probably get some weird warnings that you otherwise wouldn't have seen. Fortunately, I've found that fixing things for clang tends to keep gcc-4.9 happy.
Mar 22, 2016 Serato DJ 1.9 brings offical support for OS X El Capitan, however some drivers are not yet available. We recommend reading this El Capitan Support Article before updating. Windows 10 and Windows 8.1 users read this before installing Serato DJ. Version: Serato DJ. .Update - El Capitan is now supported in Serato DJ 1.8. Support is hardware dependent and there are two minor known issues so please read here for more information. Serato DJ and Serato DJ Intro do not currently support Mac OS X El Capitan (10.11). We do not recommend updating to El Capitan. Please check the El Capitan Troubleshooting guide here if you are experiencing a Serato DJ connection issue with any of the devices that require the El Capitan CoreAudio device driver update. SOFTWARE WITH EL CAPITAN SUPPORT. Serato DJ 1.8.1 and later; NI Traktor 2.10.0 and later.