Return to site

Can i compile a c program for mac os x

broken image
broken image

You can change this, but it makes sense to use the default.

broken image
broken image

In our example below, we have given it the name 'myProject'. You should select 'Tools -> C++ Tool' to create the project. Do this by choosing 'New Project' from the 'File' menu! An 'Assistant' window should open that allows you to create the project (see below). Your first duty will be to create a new project. Open xCode by finding it in the Applications window on your Macintosh.This package includes the GCC compiler collection (supporting the C and C++ languages, amongst others). You need to install the Mac Developer Tools either from your original Mac OS X disk or by downloading the latest version.