Eclipse - how to use Mac OS X (Xcode) toolchain in Eclipse?

ipatch picture ipatch · Jul 30, 2012 · Viewed 8.8k times · Source

I installed Eclipse (Eclipse IDE for C/C++ Developers Version: Juno Release Build id: 20120614-1722) today. And I wanted to use the Mac OS X toolchain that is provided with Xcode. I am running OS X (10.7.4) Xcode 4.3.2, and I checked, and I do have Command Line Tools installed. When I go to Eclipse -> Preferences -> New CDT Project Wizard -> Toolchains: all I see is GNU Autotools Toolchain I don't see the "Mac OS X GCC toolchain". How do I get the Mac OS X GCC toolchain to appear in the toolchain selection in Eclipse? enter image description here

Answer

yapper picture yapper · Oct 16, 2012

I have found that I sometimes have to uncheck that checkbox at the bottom "Show Project types and toolchains only if they are supported on the platform" Then when I open the Executable folder I can select the MacOs X GCC toolchain.