This is the mail archive of the
java-prs@sources.redhat.com
mailing list for the Java project.
Re: gcj/365: gcj cant find libgcj.zip
- To: apbianco at cygnus dot com
- Subject: Re: gcj/365: gcj cant find libgcj.zip
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: 29 Oct 2000 23:00:01 -0000
- Cc: java-prs at sourceware dot cygnus dot com,
- Reply-To: Alexandre Petit-Bianco <apbianco at cygnus dot com>
The following reply was made to PR gcj/365; it has been noted by GNATS.
From: Alexandre Petit-Bianco <apbianco@cygnus.com>
To: bryce@albatross.co.nz
Cc: java-gnats@sourceware.cygnus.com
Subject: Re: gcj/365: gcj cant find libgcj.zip
Date: Sun, 29 Oct 2000 14:52:32 -0800 (PST)
bryce@albatross.co.nz writes:
> The latest compiler appears to be unable to find libgcj.zip unless
> it is explicitly referenced in the CLASSPATH environment variable,
> even though I have it installed in the right place:
That seems to be the result of a Makefile rearrangement. Try this patch.
./A
2000-10-29 Alexandre Petit-Bianco <apbianco@cygnus.com>
* Make-lang.in (LIBGCJ_ZIP_FILE): Define with `$(prefix)'.
Index: Make-lang.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/Make-lang.in,v
retrieving revision 1.39
diff -u -p -r1.39 Make-lang.in
--- Make-lang.in 2000/10/27 20:22:28 1.39
+++ Make-lang.in 2000/10/29 22:48:30
@@ -281,6 +281,6 @@ java/jcf-io.o: java/jcf-io.c $(CONFIG_H)
# jcf-path.o needs a -D.
java/jcf-path.o: java/jcf-path.c $(CONFIG_H) system.h java/jcf.h
$(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
- -DLIBGCJ_ZIP_FILE='"$(libgcj_zip)"' \
+ -DLIBGCJ_ZIP_FILE='"$(prefix)/share/libgcj.zip"' \
$(srcdir)/java/jcf-path.c $(OUTPUT_OPTION)