This is the mail archive of the java@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: libtool linking libgcj


Nicholas Wourms writes:
 > 
 > But to return to the kde example...  They have also come up with another 
 > interesting way to reduce the number of object files at link time:  they 
 >   combine all the source files in a subdir into a single source file 
 > using "#include <source.cc>" directives and building it as a single 
 > object.  This may not be good for debugging or even work at all for 
 > libjava, but if it could work, it would definitely cut down on the 
 > number of object files libtool needs to process, which in turn, would 
 > cut down on the length of time required to do the final link.

We can do this with libjava.  gcj can do

   gcj foo.java bar.java baz.java -o foo.o

We could do this with all of gcj, but the memory requirements of the
compiler are fearsome.

Andrew.


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