This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: building gcj on OS X (also AWT)
Ok, John is still sitting on OS-X and things are not that easy at the
moment.
Here I give a rough overview what has to be done to get awt peers
working on OS-X:
- first, I have to get the MD_FALLBACK_FRAME_STATE_FOR macro accepted
and into gcc.
- then java signal handling for darwin has to be commited (already approved)
- after that, one can start building a c,c++ compiler with dylibed
libgcc. (Apple's system compiler still has a static libgcc. This one
will show conflicts when linking the whole awt-java libraries into libgcj.)
((Ok, maybe in tiger there is a dylibed gcc, but this will take some
weeks ;))
- with this compiler we have to build the whole gtk stuff.
- before we can build the gtk stuff we have to modify/clean the
configury in these package. Mainly things like this have to be removed:
if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
This should be forbidden.
Also some minor tweaks at other places have to be done.
- after building and installing the dylibed gtk stuff, we can start with
the real gcc/gcj with gtk-awt support.
- finally we should be able to build TestAWT.java native and interpreted.
- if this is successful we could start with the different branches to
see if there are some improvements we miss on the main branch.
I'll give an update on this as soon as my powerbook has arrived.
I think I'll do this work on 3.4.1 first since the main cvs is not
usable for me atm. I will try too, but up to now I have mixed feelings.
Too many bootstrap blockers on every arch I have.
Ok, the above depends on how fast I get this macro accepted. Hint!
Regards,
Andreas