FeaturesPluginsDocs & SupportCommunityPartners

Installing C/C++ Development Tools on Mac OS X

Content on this page applies to NetBeans IDE 6.0 and NetBeans 6.1 In order to build and debug C/C++ executables and libraries on Mac OS X, a minimal set of development tools must be installed. These tools are not bundled with the NetBeans C/C++ plugin. This how-to tells how to install supported versions of these tools.

For more information about working with C/C++ applications in the NetBeans IDE, see the C/C++ Applications Learning Trail page on the NetBeans web site.

Tutorial Requirements


Before you proceed, make sure you review the requirements in this section.

Software Needed for This Tutorial

Before you begin, you need to install NetBeans IDE 6.1. The C/C++ installer option includes NetBeans IDE 6.1 and C/C++ support. If your initial NetBeans download did not include the C/C++ plugin, you'll need to go to the Available Plugins tab on the Tools > Plugins menu and install the C/C++ plugin.

Which Tools to Use?

Mac OS X (both Tiger and Leopard) comes with a development tools bundle called Xcode. If not already installed, this bundle is available on your Apple CD. You can also download the latest Xcode version from the Apple Developer Connection.

The Xcode distributed with Leopard (Mac OS X 10.5) works as expected with the NetBeans C/C++ plugin. However, Tiger users (Mac OS X 10.4) will need to download Xcode 2.5 from the Apple Developer Connection. This version fixed a bug in the debugger information generated by the compilers, and programs may not debug correctly with earlier versions of Xcode.

Bookmark this page

del.icio.us furl simpy slashdot technorati digg
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by