Patch: Fix libjava parallel make problems
Mohan Embar
gnustuff@thisiscool.com
Fri Aug 29 18:14:00 GMT 2003
Hi Andrew,
> > Mohan> +all_java_class_files = $(all_java_source_files:.java=.class)
> > Mohan> +$(all_java_class_files): libgcj-@gcc_version@.jar
> >
> > Please add a comment before the definition of all_java_class_files
> > explaining the logic.
>
>Yeah, please do. I don't understand this at all. :-)
Never! This is Tom's and my little secret....
No seriously, I checked it in last night with this comment, which
hopefully makes things a bit clearer than mud:
+
+# This next rule seems backward, but reflects the fact
+# that 1) all classfiles are compiled in one go when the
+# libgcj jarfile is built and 2) anything which depends
+# on a particular .class file must wait until the jarfile
+# is built.
+$(all_java_class_files): libgcj-@gcc_version@.jar
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
More information about the Java-patches
mailing list