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: GNU Jaxp patch


Tom Tromey wrote:
"David" == David Daney <ddaney@avtrex.com> writes:


David> Currently I am using a hacked up libgcj.so that has all of AWT and RMI
David> and most javax removed from it.  Now I may be removing XML things as
David> well.

David> Having said all that, I am not sure what the best solution is.

David> Is it possible to either:

David> Break libgcj into several shared objects that are loaded on demand by
David> some dynamic library trickery.

David> Add more build time switches to turn off things like ATW, RMI, XML, etc.

Yeah, good questions.



Any other thoughts?



what we do in kaffe is to let people build the class library using their own 'profiles' if they want to (and embedded developers seem to be fond of it). A kaffe profile is simply a list of java source code files to be compiled into the final rt.jar, that's being fed to the java compiler using the @file-list option. [1]


That solves the problem for the class files, afaict.

cheers,
dalibor topic

[1] It was a side effect of my work to fix the kaffe build on irix, where the shell fell over itself when we started merging in large chunks of classpath and tried to compile them all at once on the command line. So we had to use the @file-list trick, and then it was kind of natural to put it to some good use, too.


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