[Chicago] Unix Development on OSX was Re: OSX Python

Brian Ray bray at sent.com
Wed Apr 5 20:36:09 CEST 2006


On Apr 5, 2006, at 1:20 PM, Atul Varma wrote:

>   The basic problem I ran into was that OS X wasn't "just" a Unix
> platform--it inherited a lot of its architecture from NextStep and
> felt a little schizophrenic at times

Ok, I believe your right about this. Although, you do not need to use  
Frameworks and App Bundles if your building just a unix tool. BTW,  
Python builds as a framework. Frameworks are a really cool thing.  
Although, we are talking unix here (And they can still be used) but  
if your building something to run elsewhere you may want a different  
build target altogether.

One way to help you get started, even if you do not wish to use Xcode  
for development, is to take a look at the "New Project" templates in  
Xcode. Choose one you wish to build: Command Line Tool, BSD Dynamic  
Library, Carbon Applications, ... then look at the compiler flags  
when you go and build a Hello World. Just give gcc or whatever the  
same Compile and Linker flags.

Your right about the schizophrenia. One thing about Mac's in general  
is that you should keep things up to date and expect to buy a new  
operating system when it comes out. As a developer on Mac, Apple has  
driven me near mad with the Classic CFM/PEF switch to Mach-O and not  
the Universal Binary switch to Intel.

Again, if we are just talking about a unix app to run elsewhere this  
is fairly simple.

Insanely your,

Brian Ray




More information about the Chicago mailing list