This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: help building custom libgcj
Ok, I thought this was easy, but I didn't succeed doing it. I tried
changing "awt_java_source_files" in both Makefile.am and Makefile.in
to contain only "java/awt/AWTPermission.java".
However, this didn't work - got some errors trying to compile
natEmbeddedWindow.cc: gnu/java/awt/peer/EmbeddedWindow.h: No such file
or directory.
Looks like you need to remove natEmbeddedWindow.cc from nat_source_files
as well.
That's what Michael Koch and I concluded, as well. Don't know what it
is, though...
Thinking it all over again, I reckon this is certainly not the way to
do it: The Makefile.in should be created automatically from
Makefile.am with automake. However, trying this with automake 1.8.3
(and no options?), resulted in a Makefile.in being 6 mb. in size,
compared to the old being of order 100 kb.
Yeah, unfortunately you currently need to use a special version of
automake to rebuild the libjava Makefile.in:
ftp://sources.redhat.com/pub/java/automake-gcj-1.4.tar.gz
Yep - Michael referred to this, too. So I've fetched it, and it works
better than the other automake :-)
It might be easier just to hack the Makefile.in directly for now.
Naaah, I don't think so - then I'd have to maintain two files, and the
dependency section in the .in-file. :o)
It's still compiling - I'll inform you how it goes... (o:
// Martin