Thread overview
Docoa, Take 2
Apr 03, 2004
resistor
Re: Docoa, Take 2 - docoa.zip
Apr 03, 2004
resistor
Apr 24, 2004
bjoern
Re: Carbon for D
Jul 26, 2004
Sha Chancellor
Jul 26, 2004
Lars Ivar Igesund
Jul 27, 2004
Ilya Minkov
April 03, 2004
I've succeeded in bridging some of the most critical Objective-C internals
(classes and objects), and am
proud to say that I am now able to introspect the ObjC runtime from D.  I ported
O'Reilly "Inside the
ObjC Runtime' introspector to D, and it works beautifully!
(http://www.macdevcenter.com/pub/a/mac/
2002/05/31/runtime_parttwo.html)

For those with OS X boxes, I'm attaching the source code.  Compiling is a little tricky:

/usr/local/gdc/bin/gdc -c main.d objc.d hashtable.d
gcc -lSystem -framework Cocoa main.o objc.o hashtable.o
/usr/local/gdc/lib/libphobos.a /usr/local/
gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/libgcc.a
/a.out

Owen


April 03, 2004
Oops.  Forgot the attachment.

In article <c4ladm$bi7$1@digitaldaemon.com>, resistor@mac.com says...
>
>I've succeeded in bridging some of the most critical Objective-C internals
>(classes and objects), and am
>proud to say that I am now able to introspect the ObjC runtime from D.  I ported
>O'Reilly "Inside the
>ObjC Runtime' introspector to D, and it works beautifully!
>(http://www.macdevcenter.com/pub/a/mac/
>2002/05/31/runtime_parttwo.html)
>
>For those with OS X boxes, I'm attaching the source code.  Compiling is a little tricky:
>
>/usr/local/gdc/bin/gdc -c main.d objc.d hashtable.d
>gcc -lSystem -framework Cocoa main.o objc.o hashtable.o
>/usr/local/gdc/lib/libphobos.a /usr/local/
>gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/libgcc.a
>/a.out
>
>Owen
>
>


April 24, 2004
Hi,

I compiled your docoa-sources today, using the following commandline:

gdc -Wl,-framework,Cocoa main.d objc.d hashtable.d -o docoa

It works great... it produces 40000+ lines of output :)

- Bjoern
July 26, 2004
In article <c4ladm$bi7$1@digitaldaemon.com>, resistor@mac.com wrote:

> /usr/local/gdc/bin/gdc -c main.d objc.d hashtable.d
> gcc -lSystem -framework Cocoa main.o objc.o hashtable.o
> /usr/local/gdc/lib/libphobos.a /usr/local/
> gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/libgcc.a
> /a.out

With these instructions i was able to compile a program that runs SysBeep OMFG!!! A couple more hours and i'll be able to write a whole application in D! j/k

Thanks for the info.  Gdc rocks.  Can't wait for the latest release *ahem*

I want to use start exposing Carbon to D and go grab those Core32 interfaces and GTK interfaces and maybe we could work on some kind of Cross-platform API standard for D.   That'd be awesome.
July 26, 2004
Sha Chancellor wrote:

> In article <c4ladm$bi7$1@digitaldaemon.com>, resistor@mac.com wrote:
> 
> 
>>/usr/local/gdc/bin/gdc -c main.d objc.d hashtable.d
>>gcc -lSystem -framework Cocoa main.o objc.o hashtable.o
>>/usr/local/gdc/lib/libphobos.a /usr/local/
>>gdc/lib/gcc-lib/powerpc-apple-darwin7.3.0/3.3.3/libgcc.a
>>/a.out
> 
> 
> With these instructions i was able to compile a program that runs SysBeep OMFG!!! A couple more hours and i'll be able to write a whole application in D! j/k
> 
> Thanks for the info.  Gdc rocks.  Can't wait for the latest release *ahem*
> 
> I want to use start exposing Carbon to D and go grab those Core32 interfaces and GTK interfaces and maybe we could work on some kind of Cross-platform API standard for D.   That'd be awesome.


You could try DUI on your Mac;

http://dui.sf.net

Lars Ivar Igesund
July 27, 2004
Lars Ivar Igesund schrieb:
> You could try DUI on your Mac;
> 
> http://dui.sf.net

It's very foreign. It runs in x-server.

The GTK on MacOS X is even worse than on Windows.

-eye