help building custom libgcj

Martin Egholm Nielsen martin@egholm-nielsen.dk
Fri Jul 9 10:26:00 GMT 2004


>>But how do I configure the build scripts to build libgcj.so
>>with optimisation-level "-Os"?
> Build with "make GCJFLAGS=-Os CFLAGS=-Os CXXFLAGS=-Os".
Great, I'll try to merge this into Crosstool's scripts...
>>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"?
> This will not work as some AWT classes are referenced from outside 
> AWT. AWTException comes to my mind ...
Well, I just grep'ed the entire j2sdk-1.4.2 source for references to 
AWTException, and this is what came out:
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


More information about the Java mailing list

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