COS 126: Mac OS X Installation Page


This documents instructs you on how to setup a C programming environment for your Macintosh computer. The instructions will deal with configuring one of the laptops purchased through SCI, although if you bought your own equipment you should be able to adapt the instructions below. All of the software below is either (i) shipped with your SCI computer, (ii) licensed by Princeton and can be downloaded for free, or (iii) freeware.

OS X


Creating gcc126 to properly compile files


Developer Tools

The Developer tools include a C compiler, debugger, and lots of other goodies.


Text Editor for Programming

We recommend using Project Builder. It is included with the Developer Tools.

BBEdit is another popular text editor for the Mac. The "Lite" version is freeware. It can be downloaded from www.bbedit.com.


PostScript Viewer

MacGSView is a program that allows you to view PostScript files. You will need such a program when we create graphics, starting in Assignment 2.


Acrobat

Acrobat Reader allows you to view pdf files. Many of the documents on our Web site are in this format. If you bought your computer from SCI, you probably have the OS 9 version of Acrobat installed. We recommend upgrading to the OS X version.

Fetch

Fetch is an FTP client that allows you to transfer files to and from your computer. On many assignments we provide various sample code and data files which you will probably want to download.

A command-line ftp client is already installed with OS X -- just type sftp ftp.princeton.edu in the Terminal.

Telnet and SSH

Nifty telnet is a telnet and ssh client that allows you to login to a remote system such as arizona. If you plan to edit and compiler programs under OS X, you may not need this program.

A command-line ssh client is already installed with OS X -- just type ssh arizona.princeton.edu.

PowerPoint Viewer

Some of the in-class demos are in PowerPoint format.

Java

It is automatically installed along with OS X.