help building custom libgcj

Martin Egholm Nielsen martin@egholm-nielsen.dk
Thu Jul 15 09:20:00 GMT 2004


>>>>In order to avoid building, say, awt, one should modify
>>>>"gcc-3.4.1/libjava/Makefile.(am|in)" and strip away all
>>>>references to "awt_java_source_files"?
>>>That is the only way to do it right now.
>>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.
>>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.
>>Can you think of any guidelines from the back of your head, that'll
>>help me succeeding with this?

> You need to use a special automake:
> ftp://sources.redhat.com/pub/java/automake-gcj-1.4.tar.gz
> Other automake versions dont have the needed Java support.

So that'll do the trick?!
It's enough to modify the "awt_java_source_files" the way I did it, or 
is there anything else I've missed?
(I rather ask before executing, because it takes a couple of hours each 
time before I reach the point where it fails...)
Thanks,
 Martin


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /