This is the mail archive of the java-patches@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]

Re: 3.3.1 GCJ Cross compiler configuration issues


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]