This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch: add $built_gcc_dir to $GCJH
- From: Adam Megacz <megacz at cs dot berkeley dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 20 Dec 2006 22:51:26 -0800
- Subject: patch: add $built_gcc_dir to $GCJH
I had mistakenly come to believe that this change was the same one I
mentioned earlier, when in fact it is a new change. Sorry about that.
ok to commit?
- a
2006-12-20 Adam Megacz <megacz@cs.berkeley.edu>
* configure.ac: add $built_gcc_dir to $GCJH, remove
$(target_noncanonical)
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (revision 120085)
+++ configure.ac (working copy)
@@ -325,7 +325,7 @@
else
GCJ="${target_noncanonical}-gcj -B`${PWDCMD-pwd}`/"
fi
- GCJH='$(target_noncanonical)-gcjh'
+ GCJH="$built_gcc_dir/gcjh"
;;
path)
GCJ="gcj -B`${PWDCMD-pwd}`/"
......................................................................
$ make ./gnu/java/security/x509/ext/BasicConstraints.h
name=`echo classpath/lib/gnu/java/security/x509/ext/BasicConstraints.class | sed -e 's/\.class$//' -e 's,classpath/lib/,,'`; \
/tmp/odc/gcc/mkinstalldirs `dirname $name`; \
gcjh -d . -classpath '' -bootclasspath classpath/lib $name
/bin/sh: line 3: gcjh: command not found
make: *** [gnu/java/security/x509/ext/BasicConstraints.h] Error 127
$ head config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libjava configure version-unused, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ /tmp/odc/gcc/libjava/configure --cache-file=./config.cache --build= --host=i386-apple-darwin --with-cross-host= --prefix=/tmp/odc/prefix --disable-multilib --target=i386-apple-darwin --with-build-sysroot=/tmp/odc/prefix --enable-languages=c,java --with-as=/tmp/odc/prefix/bin/i386-apple-darwin-as --with-ld=/tmp/odc/prefix/bin/i386-apple-darwin-ld target_alias=i386-apple-darwin --enable-languages=c,c++,java --program-transform-name=s&^&i386-apple-darwin-& --with-target-subdir=i386-apple-darwin --srcdir=../../../gcc/libjava build_alias= host_alias=i386-apple-darwin CPPFLAGS= --enable-ltdl-convenience --with-fastjar=jar --enable-tool-wrappers --disable-load-library --disable-debug --enable-default-toolkit= --with-vm-classes=/tmp/odc/gcc/libjava:/tmp/odc/gcc-build/i386-apple-darwin/libjava --disable-core-jni --disable-examples --with-glibj=build --disable-plugin --disable-gconf-peer --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory --disable-gtk-peer --disable-qt-peer --with-auxdir=/tmp/odc/gcc --with-fastjar=jar --enable-tool-wrappers --disable-load-library --disable-debug --enable-default-toolkit= --with-vm-classes=/tmp/odc/gcc/libjava:/tmp/odc/gcc-build/i386-apple-darwin/libjava --disable-core-jni --disable-examples --with-glibj=build --disable-plugin --disable-gconf-peer --enable-default-preferences-peer=gnu.java.util.prefs.FileBasedFactory --disable-gtk-peer --disable-qt-peer --with-auxdir=/tmp/odc/gcc --no-create --no-recursion
> and this involved both a cross build and a crossed-native build.
Canadian?
- a
--
PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380
--
PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380