Native-code support for Mac OS X / Darwin
Adam Megacz <[email protected]> 19 Apr 2003 22:39:11 -0700
| Newsgroups | gmane.comp.java.xwt.general |
|---|---|
| Organization | Myself |
| Message-ID | <[email protected]> |
Huge, huge thanks and credit to Brian Alliet for finishing the port of
gcj-boehm-gc to Darwin, which made this all possible (xwt/gcc/gcc.patch).
In addition to Win32, Linux, and Java2, XWT now has a Darwin target,
which produces a native Darwin binary with statically linked
threadsafe X11 libraries (courtesy of fink). Just check out CVS HEAD
and type 'make Darwin'.
Unfortunately because Apple uses a proprietary linker/assembler, you
can only build the Darwin target on a Darwin machine.
Two projects for anybody with spare time:
1) Get the Darwin ld and as to compile under Linux. Once this is
finished, we can put prebuilt, signed Mac OS X binaries on
dist.xwt.org. You can find all the source you need at
opendarwin.org, in the src/cctools CVS repo. It's mostly a
matter of putting the right headers in the right place.
2) I'm about to check in skeleton code for a MacOSX target, which
will use Carbon instead of X11. It would be really cool if
somebody could learn a bit of Carbon and then "fill in the
blanks". Cocoa is acceptable only if you can do it using only
C++ and Java (NO OBJECTIVE C). Once MacOSX works well, I'll
merge it and Darwin into a single binary that autodetects which
gui to use (Carbon if available; else X11).
- a
--
Palladium / TCPA violates Asimov's Three Laws:
http://yro.slashdot.org/comments.pl?sid=60943&cid=5740626
_______________________________________________
http://lists.xwt.org/listinfo/dev