🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.programmer.codewarrior
Article #856

Re: CodeWarrior 7.0 and Frameworks

#856
From: Markus Bollinger
Date: Thu, 30 Jan 2003 10:09
72 lines
3496 bytes
Thank you, Miro!

Sounds complicated to me. I am new to CodeWarrior. Usually I work with
ProjectBuilder.

But I have made a OS X Framework that I want to use with in a PlugIn for a
third party application
that has to be a CFM shared lib (created with CodeWarrior). It has to run
only on OS X.

Do you or anybody else know if there is a possibility to create a
ProjectBuilder or CodeWarrior
library (static/dynamic/bundle) including Frameworks that can simply be used
(linked)
with my CFM shared lib - project ?

Markus.



"Miro Jurisic" <macdev@meeroh.org> wrote in message
news:macdev-203B76.22534429012003@senator-bedfellow.mit.edu...
> In article <57d1346f.0301290849.296c2aba@posting.google.com>,
>  bollinger@digigram.com (Markus Bollinger) wrote:
>
> > I use CodeWarrior 7 on Mac OS X 10.2.3.
> >
> > I have a CodeWarrior Carbon PPC Project and the Target is a <SharedLib>.
>
> That would be a CFM shared library
>
> > This project uses the Linker <Macintosh PowerPC>.
> >
> > Now I want to use Apple Frameworks and the Doc says to use the Linker
> > <Apple Mach-O Power PC> to be able to do so.
>
> That would be a Mach-O linker
>
> > But with this Linker the SharedLib's do not exist.
>
> And you can't build a CFM shared library with the Mach-O linker. You have
two
> choices:
>
> 1. If you can use a Mach-O library instead of a CFM one, do so. Use the
bundle
> target type for the Mach-O linker. However, note that a Mach-O bundle will
not
> work on Mac OS 9 at all, and that a CFM application cannot link against
it.
>
> 2. Load the relevant symbols manually. There are various degrees of manual
labor
> involved here, from using a lot of hand-written boilerplate code to call
> CFBundle, to use CFMLateImport from MoreIsBetter sample code.
>
> > Furthermore projects with this linker (even a new empty project) show
> > <Link Error : Carbon load command 21 unknown cmd field>  ???
>
> You cannot build a Mach-O target in CW7 under Mac OS X 10.2. You have to:
>
> 1. Downgrade to Mac OS 10.1 or
> 2. Upgrade to CW8 or
> 3. Run CW7 under Mac OS 10.2 and tell it to use headers from Mac OS 10.1,
which
> requires having a copy of Mac OS 10.1 (with the associated dev tools)
somewhere
> on a disk.
>
> hth
>
> meeroh
Technical Details
Message-ID: <b1atjq$o3s$1@d03.completel.fr>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!deine.net!news.completel.fr!not-for-mail
References: <57d1346f.0301290849.296c2aba@posting.google.com> <macdev-203B76.22534429012003@senator-bedfellow.mit.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bcce,6b6b1a40c89bfdf0,start
X-Google-Attributes: gid10bcce,public
X-Google-Thread: f635e,a4250ba7c17ac3db
X-Google-Attributes: gidf635e,public
X-Google-ArrivalTime: 2003-01-30 02:09:00 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!deine.net!news.completel.fr!not-for-mail
From: "Markus Bollinger" <bollinger@digigram.com>
Newsgroups: comp.sys.mac.programmer.codewarrior,codewarrior.mac
Subject: Re: CodeWarrior 7.0 and Frameworks
Date: Thu, 30 Jan 2003 11:09:41 +0100
Organization: completel
Lines: 74
Message-ID: <b1atjq$o3s$1@d03.completel.fr>
References: <57d1346f.0301290849.296c2aba@posting.google.com> <macdev-203B76.22534429012003@senator-bedfellow.mit.edu>
NNTP-Posting-Host: 213.30.172.228
X-Trace: d03.completel.fr 1043921339 24700 213.30.172.228 (30 Jan 2003 10:08:59 GMT)
X-Complaints-To: abuse@completel.fr
NNTP-Posting-Date: Thu, 30 Jan 2003 10:08:59 +0000 (UTC)
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000