Patch for Review: Build all libjava .class files at once (Updated)

Tom Tromey tromey@redhat.com
Sat Aug 16 18:38:00 GMT 2003


>>>>> "Mohan" == Mohan Embar <gnustuff@thisiscool.com> writes:

Mohan> - make all-recursive depend on libgcj.jar instead of
Mohan> $(all_java_class_files)
Mohan> - make libgcj.jar depend on the <i>source</i> files instead of
Mohan> the classfiles

Great approach!  I think people will be pretty happy with this, since
I suspect it will speed up build times.

Now we just have to tackle the other half of the equation :-)

Mohan> +	@: $(shell echo $? | tr ' ' '\n' > libgcj.sourcelist)

Like Alexandre says, you have to use the GNU make trick here to work
around systems with command line length limitations.  With that change
this patch is ok.

Really, we'd like to find a way to write this code so that it doesn't
depend on GNU make at all, but still works on these limited systems.
Nobody has tried to figure out how to do that yet.  We don't even know
if it is reasonably possible.

Tom



More information about the Java-patches mailing list