Re: Compiling cctools in Codewarrior/PEF
Re: Compiling cctools in Codewarrior/PEF
- Subject: Re: Compiling cctools in Codewarrior/PEF
- From: Shantonu Sen <email@hidden>
- Date: Mon, 18 Oct 2004 07:38:27 -0700
On Oct 18, 2004, at 6:55 AM, Josh wrote:
<sorry if this is a repost - I didn't see it posted the first time I
emailed it...>
I'm trying to compile the some of the prebinding libraries included in
cctools using Codewarrior. Ultimately, I want to call unprebind() from
a Carbon CFM app. The problem is that it compiles as a Mach-O static
library (and I need it to be static) and I can't call that from a CFM
app.
Why can't you compile it as a bundle and load that? I believe that is
the
supported way of calling Mach-O code from CFM apps, no?
The other option is to compile it as a Carbon PEF library, but I
can't get codewarrior to do this (mwpefcc gives me all sorts of errors
with the #include statements).
What kind of errors? If it's problems with the #import statements, you
may
want to take a look at the odcctools project
<http://www.opendarwin.org/projects/odcctools/>,
which maintains a set of patches against cctools. for greater
portability
and ease of building. You probably want to apply the patches to some
version of cctools released by Apple in a developer tools release,
unlike
the cctools snapshots they currently use.
Anyone have any experience or tips with
this?
Not really. Most developers have moved to Mach-O.
Shantonu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden