Article View: comp.sys.mac.programmer.codewarrior
Article #636Re: Why does Codewarrior want to compile for Mac OS 8?
From: MW Ron
Date: Mon, 08 Dec 2003 20:24
Date: Mon, 08 Dec 2003 20:24
75 lines
3892 bytes
3892 bytes
In article <BBFA386E.5935%nvdeveloper@nvision-tech.com>,
NV Developer <nvdeveloper@nvision-tech.com> wrote:
>Hi,
>On the Shared Library project that works, here are my access paths:
>{Compiler}Mac OS Support
>{Compiler}MSL/MSL_C
>{Compiler}MSL/MSL_C++
>{Compiler}MSL/MSL_Extras
This is the correct path for CFM/PEF (classic Carbon) support.
>And in the Shared Library project that DOESN'T work, here are the access
>paths:
>{Compiler}Mac OS Support
>{Compiler}MSL/MSL_C
>{Compiler}MSL/MSL_C++
>{Compiler}MSL/MSL_Extras
if you want to do Mach-0 you need the Mac OS X Support folder you need
the /usr/lib and /usr/include and the frameworks added, (Look at a
Mach-O Stationery).
By the way if you are doing Carbon and want it to run on OS 8/9 and OS X
be sure you have the right Carbon Resource and plist for it.
Ron
>What do I need to change?
>
>Jaime
>On 12/8/03 1:44 PM, in article
>mwron-0C0D21.13445208122003@enews.newsguy.com, "MW Ron"
><mwron@metrowerks.com> wrote:
>
>> In article <BBFA0A71.57DF%nvdeveloper@nvision-tech.com>,
>> NV Developer <nvdeveloper@nvision-tech.com> wrote:
>>
>>> Hi,
>>> I have Codewarrior v9 for the Mac and I created a shared lib project using
>>> the carbon libraries and the compiler keeps thinking that I am working with
>>> Mac OS 8. I tried using a prefix file for the project but it is still using
>>> the header file from the Universal Headers to get its definitions. Any ideas
>>> on what could be missing here? Thanks in advance!
>>>
>>> Jaime Rios
>>
>> As you have discovered you were doing CFM programming.
>>
>> I know the names of the linkers and tools could be better named, but
>> I'll be darned if I can come up with better names. The PEF/CFM carbon
>> tools have had that name for a long time and the Mach-O ones have Mac OS
>> X in the name.
>>
>> The access paths will ultimately determine which headers are included,
>> if you have Mac OS Support it will get the CFM Carbon headers if you
>> have Mac OS X support it will get the OS X ones.
>>
>> If I've just confused you please continue to ask questions. It isn't
>> hard to understand but I can see it could be confusing.
>>
>> Ron
>
>
--
New from Metrowerks
The CodeWarrior Wireless Development Kit for Symbian OS, SEMC P900 Edition
Easy-to-use, integrated tools and hardware for SEMC P900 Development
http://www.metrowerks.com/MW/Develop/Wireless/Symbian/SymbianWDKC.htm
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com
Technical Details
Message-ID:
<mwron-0AAADF.15244208122003@enews.newsguy.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.state.mn.us!arclight.uoregon.edu!hammer.uoregon.edu!logbridge.uoregon.edu!tethys.csu.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwronReferences:
<BBFA0A71.57DF%nvdeveloper@nvision-tech.com> <mwron-0C0D21.13445208122003@enews.newsguy.com> <BBFA386E.5935%nvdeveloper@nvision-tech.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,aae8125d6feb68af
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,aae8125d6feb68af
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-12-08 12:50:17 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!news-out.visi.com!petbe.visi.com!news.state.mn.us!arclight.uoregon.edu!hammer.uoregon.edu!logbridge.uoregon.edu!tethys.csu.net!pln-w!spln!dex!extra.newsguy.com!newsp.newsguy.com!mwron
From: MW Ron <mwron@metrowerks.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: Why does Codewarrior want to compile for Mac OS 8?
Date: Mon, 08 Dec 2003 15:24:42 -0500
Organization: Metrowerks
Lines: 75
Message-ID: <mwron-0AAADF.15244208122003@enews.newsguy.com>
References: <BBFA0A71.57DF%nvdeveloper@nvision-tech.com> <mwron-0C0D21.13445208122003@enews.newsguy.com> <BBFA386E.5935%nvdeveloper@nvision-tech.com>
NNTP-Posting-Host: p-580.newsdawg.com
User-Agent: MT-NewsWatcher/3.2 (PPC Mac OS X)
X-Face: )mY~XFHLw)UOW!W#[Ljvxq6Ja7(g'#F0-g*&puNxR8hEJkd@Oue/70^.)I78\
(%a%&Id211u"l/t.llWo/M|?15XUlx9!IGkdWiEmcasiyg"k;Q9[~XuE+`t2"*n(>nmm
@L/q,TjMd5+H{gASEPDR^$