libjava build is broken on SMP

Mohan Embar gnustuff@thisiscool.com
Thu Aug 28 19:43:00 GMT 2003


Tom,
I think the following patch fixes the problem not just for header
files, but anything that depends on a classfile. I'm still doing a
build with this, but wanted to show you it already in case there's
anything blatantly wrong with this. If the build goes okay, I'll
submit it officially.
P.S. I had CVS connection problems so I used Ranjit's makepatch.sh
to generate this (http://ranjitmathew.tripod.com/phartz/gcj/crpatch.html).
Thanks Ranjit!
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/
ChangeLog
2003年08月28日 Mohan Embar <gnustuff@thisiscool.com>
	* Makefile.am: Fixed problems with parallel makes.
	(all_java_class_files): Readded definition.
	(all_java_class_files): New target which depends on
	libgcj-@gcc_version@.jar
Index: Makefile.am
===================================================================
--- Makefile.am	2003年08月28日 14:27:51.000000000 -0500
+++ Makefile.am	2003年08月28日 13:22:58.000000000 -0500
@@ -338,4 +338,6 @@
 $(x_java_source_files)
 
+all_java_class_files = $(all_java_source_files:.java=.class)
+
 libgcj-@gcc_version@.jar: $(all_java_source_files)
 	-@rm -f libgcj-@gcc_version@.jar
@@ -348,4 +350,6 @@
 	 $(ZIP) cfM0E@ $@
 
+$(all_java_class_files): libgcj-@gcc_version@.jar
+
 MOSTLYCLEANFILES = $(javao_files) $(nat_files) $(nat_headers) $(c_files) $(x_javao_files) $(x_nat_files) $(x_nat_headers)
 CLEANFILES = libgcj-@gcc_version@.jar


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /