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 > Building for OS9 and OS X

Building for OS9 and OS X
Thread Tools
KHawk
Guest
Status:
Reply With Quote
Dec 4, 2000, 12:53 PM
 
I've posting this before and no one responded. Probably because dev tools were kind of new. If I have a Carbon app and I wish it to be compiled for OS X and OS 9, can this be done in Project Builder. I can compile for OS X with no problem (of course), but my problems occur when trying to run it on OS 9.

In OS 9, what I see is a folder with the name of my Application eg. programm.app. I guess in OS X this is seen as an Application. My problem is how do I make this folder run like an application in OS 9?

What options do I need to set, or is it something completely different?

Thanks

[This message has been edited by KHawk (edited 12-04-2000).]
     
Mac Elite
Join Date: Oct 2000
Location: Australia
Status: Offline
Reply With Quote
Dec 8, 2000, 08:13 PM
 
I really think you should be building Carbon software in Metrowerks CodeWarrior 6.
http://www.metrowerks.com/

It is really the best environment for Carbon, and runs on both Mac OS 9 + CarbonLib and Mac OS X, so you can test and debug in either environment.

Leave Project Builder for Cocoa when you tackle it.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 9, 2000, 03:13 AM
 
Just a thought - the problem could be that Project Builder is compiling the binary as Mach-O executable format and not the CFM format that Mac OS 9 understands (OS X supports both).

I'm not sure where that would be in the options tho
     
Mac Enthusiast
Join Date: Sep 2000
Location: Cupertino, CA
Status: Offline
Reply With Quote
Dec 10, 2000, 10:14 AM
 
Originally posted by Angus_D:
Just a thought - the problem could be that Project Builder is compiling the binary as Mach-O executable format and not the CFM format that Mac OS 9 understands (OS X supports both).

I'm not sure where that would be in the options tho
Mac OS X does support Mach-O carbons, and I am pretty sure project builder using gcc can only produce Mach-O. PEF (CFM) is deprecated, and I don't think anyoneis likely to sepnd the time to get the new toolchain building it, since there quite a bit of other work to be done. If you want to run it MacOS 9, use codewarrior.


Louis
Louis Gerbarg
Darwin Developer
These are my views, and not the views of my employer.
     
Mac Enthusiast
Join Date: Sep 2000
Location: Cupertino, CA
Status: Offline
Reply With Quote
Dec 10, 2000, 10:17 AM
 
Originally posted by Angus_D:
Just a thought - the problem could be that Project Builder is compiling the binary as Mach-O executable format and not the CFM format that Mac OS 9 understands (OS X supports both).

I'm not sure where that would be in the options tho
Mac OS X does support Mach-O carbons, and I am pretty sure project builder using gcc can only produce Mach-O. PEF (CFM) is deprecated, and I don't think anyoneis likely to sepnd the time to get the new toolchain building it, since there quite a bit of other work to be done. If you want to run it MacOS 9, use codewarrior.


Louis
Louis Gerbarg
Darwin Developer
These are my views, and not the views of my employer.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Dec 10, 2000, 10:24 AM
 
or MPW from inside Classic :-)
     
   
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 11:19 PM.
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