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: gcj trunk - libgcj-tools.jar


On Sat, 17 Mar 2007 16:11:06 +0100
Hanno Meyer-Thurow <h.mth@web.de> wrote:

> Hi list!
> I just installed gcj-20070316 snapshot. Linked tools.jar to libgcj-tools.jar.
> Ant was not able to find com.sun.tools.javac.
> 
> libgcj-tools.jar has './' in front of pathnames. After fixing that Ant found
> com.sun.tools.javac again. Please fix! Thanks.

Attached patch fixes this for me.
--- libjava/classpath/tools/Makefile.am.orig	2007-03-17 18:43:46.000000000 +0100
+++ libjava/classpath/tools/Makefile.am	2007-03-17 18:44:19.000000000 +0100
@@ -204,13 +204,13 @@
 ## END GCJ LOCAL
 ## First add classpath tools stuff.
 	(cd classes; \
-	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
+	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) *; fi; \
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) *; fi; \
 	cd ..)
 ## Now add ASM classes.
 	(cd asm; \
-	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
+	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) *; fi; \
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) *; fi; \
 	cd ..)
 	rm -rf asm classes classes.lst asm.lst
 
--- libjava/classpath/tools/Makefile.in.orig	2007-03-17 18:43:55.000000000 +0100
+++ libjava/classpath/tools/Makefile.in	2007-03-17 18:44:44.000000000 +0100
@@ -1121,12 +1121,12 @@
 	cp -pR $(srcdir)/asm .
 	cp -pR $(srcdir)/classes .
 	(cd classes; \
-	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) .; fi; \
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) .; fi; \
+	if test "$(ZIP)" != ""; then $(ZIP) -r ../$(TOOLS_ZIP) *; fi; \
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) cf ../$(TOOLS_ZIP) *; fi; \
 	cd ..)
 	(cd asm; \
-	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) .; fi; \
-	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) .; fi; \
+	if test "$(ZIP)" != ""; then $(ZIP) -u -r ../$(TOOLS_ZIP) *; fi; \
+	if test "$(FASTJAR)" != ""; then $(FASTJAR) uf ../$(TOOLS_ZIP) *; fi; \
 	cd ..)
 	rm -rf asm classes classes.lst asm.lst
 

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