Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / December 2003



Tip: Looking for answers? Try searching our database.

CW6 academic: Carbon won't run on OS9, only OSX

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
simon - 01 Dec 2003 13:43 GMT
I've just taken a look at a member of staff's system
to help out on a problem - I've been doing Mac development
for a good many years but I'm a bit stumped by this:

System is OS9.2/OSX10.2.8/CW6 Academic

The chap has got an old CW4 project he's opened in CW6 - it will
compile, link and run OK for OS9 and will compile and link OK for
OSX but will NOT run. All the settings look fine.

I've produced a couple of baby test projects for him in CW6 and
have noticed the following:
If i target for PPC, I get an OS9 ONLY executable
if i target for Carbon, I get an OSX ONLY executable (and upon
investigation with GetInfo, it has a "minus" in the
"Run as Classic app" check box, which I've never seen before)

All my experience tells me that Carbon apps should run in both environs -
so what and where am I missing things?

many thanks, in advance,

Simon
MW Ron - 04 Dec 2003 00:39 GMT
>I've just taken a look at a member of staff's system
>to help out on a problem - I've been doing Mac development
[quoted text clipped - 15 lines]
>All my experience tells me that Carbon apps should run in both environs -
>so what and where am I missing things?

There are two forms of Carbon,  the CFM/PEF executables and the Mach-O
exectuables  If you develop a Carbon application using Mach-O it can not
run in OS 9 and can not be set to launch as classic.   I don't think CW
6 had a Mach-O compiler.

If however you are developing the normal PEF/CFM carbon then it should
be able to launch and run in either mode.   I assume from your
description that is what you have.  I'd really like to see a small
example and if you can do this with a stationery or example please let
me know.  

The only other thing I can think of is maybe you don't have the classic
options with your OS X installation.

Ron

Signature

 Get printed CodeWarrior Documentation (limited selection)
    And all the latest versions of CodeWarrior Manuals

http://www.metrowerks.com/MW/Support/dev_resources/default.htm

Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.