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: Patch for Review: Build all libjava .class files at once (Updated)


>>>>> "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


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