help building custom libgcj
Jacob Gladish
jake@gladish.info
Fri Jul 16 14:08:00 GMT 2004
Is building without any GUI (swing/awt) support going to be supported
without any manual intervention to the configuration? I did the same
thing a while ago (tried --with-java-awt=no) and was hoping that it
would just work, but noticed that the awt and swing classes where still
compiling.
Am I correct to "assume" that libgcj would be a little smaller without
the GUI classes compiled in?
-----Original Message-----
From: java-owner@gcc.gnu.org [mailto:java-owner@gcc.gnu.org] On Behalf
Of Martin Egholm Nielsen
Sent: Friday, July 16, 2004 4:06 AM
To: java@gcc.gnu.org
Subject: 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.
Aaaaand I need to keep:
java/beans/PropertyChangeEvent.java
java/beans/PropertyChangeListener.java
java/beans/PropertyChangeListenerProxy.java
java/beans/PropertyChangeSupport.java
in "awt_java_source_files", as well. This is referred to from
java.util.LogManager.
And it's compiling again :-)
// Martin
More information about the Java
mailing list