help building custom libgcj

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


>>>>It's enough to modify the "awt_java_source_files" the way I did
>>>>it, or is there anything else I've missed?
>>>It should be but no garantee.
>>Well, if I glance the Makefile.am a bit more thoroughly, I find
>>that there is a list of files - namely "nat_source_files" -
>>containing a reference to the file
>>"gnu/java/awt/natEmbeddedWindow.cc". This file references to e.g.
>>"gnu/java/awt/EmbeddedWindow.h" I guess this file is created by
>>gcjh from
>>"gnu/java/awt/EmbeddedWindow.java" (right?), but this file is no
>>longer in my "awt_java_source_files" list. So, I'm not sure it'll
>>work (haven't tried it though)?
> Ahh, you are right. IF you want AWT you dont need 
> gnu/java/awt/natEmbeddedWindow.cc either. Just remove.
You meant to write: "If you _dont_ want AWT...", right?
I've removed it and try to see what happens...
Glancing at Makefile.in I have a good feeling about this...
I'll report the result later...

>>>You can run "make" in <buildtree>/<arch-triplet>/libjava. No need
>>>to rebuild full GCC again.
>>Well, I don't quite know the parameters for "configure" in order to
>>get it to create the Makefile. 
> It recreates Makefile automatically if Makefile.in changed. No extra 
> configure flags needed.
Still if the source- and build dirs are not the same?

Regards,
  Martin




More information about the Java mailing list