Skip to Content
Mac OS X For Unix Geeks, 4th Edition
book

Mac OS X For Unix Geeks, 4th Edition

by Ernest E. Rothman, Rich Rosen, Brian Jepson
September 2008
Beginner to intermediate
426 pages
10h 42m
English
O'Reilly Media, Inc.
Content preview from Mac OS X For Unix Geeks, 4th Edition

Chapter 10. Compiling Source Code

The Xcode tools that ship with Mac OS X provide a development environment for building applications using Cocoa, Carbon, Java, and even AppleScript. (For details about obtaining these tools, see the Xcode Tools” section in the Preface.) The Xcode tools include utilities that should be familiar to any Unix developer who works with command-line compilers. They also include all sorts of other goodies, including an advanced Integrated Development Environment (IDE), but coverage of those tools is beyond the scope and intent of this book.

Note

To learn more about the Xcode tools, go to http://developer.apple.com/referencelibrary/DeveloperTools/index.html.

A variety of compilers can be used with Mac OS X. The C compiler that comes with Xcode is based on the Free Software Foundation’s (FSF’s) GNU Compiler Collection, or GCC. Apple’s modifications to GCC include an Objective-C compiler, as well as various modifications to deal with the Darwin operating system. The development environment in Mac OS X includes:

AppleScript

This is an English-like language used to script events in applications and in the operating system. AppleScript is installed as part of the Mac OS X operating system and does not require Xcode. To write AppleScripts, use the Script Editor (/Applications/AppleScript).

AppleScript Studio

This is a high-level development environment based on AppleScript that allows you to build GUI applications by hooking AppleScript into the Cocoa framework. If you ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Mac OS X for Unix Geeks

Mac OS X for Unix Geeks

Ernest E. Rothman, Brian Jepson
Mac OS X in a Nutshell

Mac OS X in a Nutshell

Jason McIntosh, Chuck Toporek, Chris Stone

Publisher Resources

ISBN: 9780596520625Errata Page