3.3.1 GCJ Cross compiler configuration issues
David Daney
ddaney@avtrex.com
Wed Apr 7 19:44:00 GMT 2004
Peter Blemel wrote:
>
>
> Which brings me to another issue ;-) For an embedded system with no
> display and no network support it just takes up space to build awt /
> swing / etc classes. These groups of classes are tacked onto the
> end of 'ordinary_java_source_files'. Is it advisable to make a
> change such as
>
> @NATIVE_TRUE@awt_SOURCES = $(awt_java_source_files)
> java_source_files = ... $(awt_SOURCES)
>
> ?
I delete about half of the classes from the Makefile.am and then
regenerate the Makefile to solve this problem.
You will know if you remove too many when you get errors linking libgcj.so
>
> Which brings me to another point. When building from a 'stock' GCC
> distribution everything (including .java files) are recompiled many
> times (ca, le, nof, und). Is there a particular reason that the
> .class files need to be built so many times?
>
I don't build multi-libs, so I would not know about this.
More information about the Java-patches
mailing list