[info-mcl] [Openmcl-internal] OpenMCL Intel and Cocoa
Gary Byers
gb at clozure.com
Sat Aug 25 18:35:43 CDT 2007
The ffigen for this architecture is in:
<ftp://clozure.com//pub/testing/ffigen-apple-gcc-5363-x86-64.tar.gz>
Apple still hasn't (AFAIK) released sources for a version of GCC that
implements their ObjC 2.0 extensions and supports x86-64; the code
above is built from a combination of an early version of the ObjC 2.0
changes that Apple checked into the GCC svn tree last year and Apple's
gcc-5363 (that contains their x86-64 changes.) Apple's continued to
make (small) changes to the ObjC 2.0 language since then, and since
the ffigen above is based on a GCC that understood a slightly earlier
version of ObjC 2.0, it doesn't handle everything that's present in
current Leopard headers.
It -does- handle the most recent Cocoa (Foundation + AppKit) headers,
but has problems with the headers from some add-on frameworks (WebKit,
AddressBook, etc.)
There's a populate.sh script for the x86-64 (Leopard) Cocoa headers in
CVS. We're a little nervous about actually distributing the .cdb files
before Leopard is released (out of concern that an Apple lawyer having
a bad day might feel that that violates their NDA), but someone with
a copy of a Leopard prerelease and the ffigen above can jump through
some hoops and generate the .cdb files. (After Leopard's released,
there shouldn't be any issue with distributing the .cdb files with
OpenMCL releases.)
The state of the Cocoa IDE on x86-64/Leopard is about the same as it
is on ppc/Tiger: still some bugs and missing features, progress being
made. <http://trac.clozure.com/openmcl/report/1> should probably show
more open bugs than it does (feel free to add more), but does list a
lot of IDE bugs and may give a mostly reasonable impression of where
things stand.
On Sat, 25 Aug 2007, clozure at folly.org wrote:
> Cocoa on Intel requires Leopard (and Leopard interfaces). If you have
> access to Leopard through the Apple developer program, contact Gary Byers
> off-list and he'll get you the interfaces.
>
>
> Ron Garret wrote:
>> What is the current state of the Cocoa IDE on Intel Macs? When I try
>> running the latest snapshot I get this:
>>
>> Welcome to OpenMCL Version 1.1-pre-070722 (DarwinX8664)!
>> ? (require 'cocoa)
>> ; Warning: Interface file #P"/Users/ron/devel/ccl/darwin-x86-
>> headers64/cocoa/records.cdb" does not exist, and the containing
>> directory does not exist.
>> ; This may mean that that the "ccl:" logical-pathname host
>> has not been properly initialized.
>> ; While executing: CDB-OPEN, in process listener(1).
>> ; Warning: Interface file #P"/Users/ron/devel/ccl/darwin-x86-
>> headers64/carbon/records.cdb" does not exist, and the containing
>> directory does not exist.
>> ; This may mean that that the "ccl:" logical-pathname host
>> has not been properly initialized.
>> ; While executing: CDB-OPEN, in process listener(1).
>> ; Warning: Interface file #P"/Users/ron/devel/ccl/darwin-x86-
>> headers64/cocoa/types.cdb" does not exist, and the containing
>> directory does not exist.
>> ; This may mean that that the "ccl:" logical-pathname host
>> has not been properly initialized.
>> ; While executing: CDB-OPEN, in process listener(1).
>> ; Warning: Interface file #P"/Users/ron/devel/ccl/darwin-x86-
>> headers64/carbon/types.cdb" does not exist, and the containing
>> directory does not exist.
>> ; This may mean that that the "ccl:" logical-pathname host
>> has not been properly initialized.
>> ; While executing: CDB-OPEN, in process listener(1).
>> > Error: Unknown foreign type: :OBJC_OBJECT
>> > While executing: %PARSE-FOREIGN-TYPE, in process listener(1).
>>
>> When I tried to rebuild the header files I ran into the problem that
>> that there doesn't seem to be a precompiled binary of ffigen for this
>> architecture. Am I missing something simple, or is this really not
>> working yet?
>>
>> Thanks,
>> rg
>>
>> _______________________________________________
>> info-mcl mailing list
>> info-mcl at clozure.com
>> http://clozure.com/mailman/listinfo/info-mcl
>>
>
>
> _______________________________________________
> Openmcl-internal mailing list
> Openmcl-internal at clozure.com
> http://clozure.com/mailman/listinfo/openmcl-internal
>
>
More information about the info-mcl
mailing list