help building custom libgcj

Bryce McKinlay mckinlay@redhat.com
Fri Jul 9 16:31:00 GMT 2004


Martin Egholm Nielsen wrote:
>> There is no configure options to not include AWT in libgcj, only the 
>> GTK and Xlib can be disabled.
>> Bummer, I just hoped the parameter "--enable-java-awt=no" on
> the gcc-3.4.1/libjava/configure script would do just that...
>> So to rip up an old thread (though never finished?!):
> 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"?
> Or is there a better way to do it?

That is the only way to do it right now. The BC-ABI should make it a bit 
easier to build a custom libgcj with only the classes you need, because 
a dangling reference to a missing class won't be a problem unless that 
class is really needed at runtime.
Regards
Bryce


More information about the Java mailing list

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