This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Great, I'll try to merge this into Crosstool's scripts...Build with "make GCJFLAGS=-Os CFLAGS=-Os CXXFLAGS=-Os".But how do I configure the build scripts to build libgcj.so with optimisation-level "-Os"?
Well, I just grep'ed the entire j2sdk-1.4.2 source for references to AWTException, and this is what came out:This will not work as some AWT classes are referenced from outside AWT. AWTException comes to my mind ...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"?
java/awt/Cursor.java java/awt/Window.java java/awt/peer/ComponentPeer.java java/awt/GraphicsConfiguration.java java/awt/im/spi/InputMethodDescriptor.java java/awt/Robot.java java/awt/Component.java java/awt/AWTException.java java/awt/Canvas.java java/awt/dnd/DragSource.java
Regards, Martin
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |