Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > PB can't be used to develop os9x apps?

PB can't be used to develop os9x apps?
Thread Tools
Fresh-Faced Recruit
Join Date: Jul 2001
Status: Offline
Reply With Quote
Jul 26, 2001, 02:26 AM
 
Hello,

I'm just getting started with Mac Programming and was wondering, can I not use Project Builder to build os9 carbon apps? I am a little confused since the examples at apple.com that I downloaded has an os9 executable and says that all examples posted after the release of OSX should be built using PB.... however, when I build it using PB it works fine on osX but when I try to run it on os9.1 the app isn't even recognized as an app.... Do I need to get CodeWorrior or something?

Coming from a unix background, I'd rather do everything using the shell but if I have to use something like codewarrior thats that....

Well. thanks in advance...
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Jul 26, 2001, 02:07 PM
 
Project Builder is just basically a pretty front-end to gcc, that famous open-source compiler. gcc compiles only to Mach-O, the native executable format of OS X. OS 9 does not recognise Mach-O, instead it uses CFM/PEF executables.

CodeWarrior currently only compiles to CFM, much to the annoyance of various people (Mach-O is available as an early preview, along with Cocoa support). If you want to do Carbon development on OS X that also runs on OS 9, then you'll have to use CW, I'm afraid -- otherwise you could always try MPW, Apple's free IDE for OS 9.
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Jul 26, 2001, 04:44 PM
 
(Note that with a few exceptions, you should be able to use the same code with both compilers. Link to "Carbon.framework" in PB and CarbonLib in CW.)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:45 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2