This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: build failure on darwin
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: andreas tobler <toa at pop dot agri dot ch>
- Cc: GCC-Java <java at gcc dot gnu dot org>, java-patches at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 22 Feb 2002 18:30:32 -0300
- Subject: Re: build failure on darwin
- Organization: GCC Team, Red Hat
- References: <20020222181125.9379@pop.agri.ch>
On Feb 22, 2002, andreas tobler <toa@pop.agri.ch> wrote:
> For what's worth:
> @CXX@ -DHAVE_CONFIG_H -I. -I../../../gcc/libjava -I./include -I./gcj -
> I../../../gcc/libjava -Iinclude -I../../../gcc/libjava/include -I../../
> ./gcc/libjava/libltdl -I../../../gcc/libjava/libltdl -I../../../gcc/
> libjava/.././libjava/../gcc -I../../../gcc/libjava/../zlib -I../../../
> gcc/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-
> exceptions -fdollars-in-identifiers -I/usr/X11R6/include -W -Wall -
> D_GNU_SOURCE -DPREFIX="\"/Volumes/reserved1/gcctmp\"" -g -O2 -c ../../../
> gcc/libjava/gij.cc
> zsh: command not found: @CXX@
> make[1]: *** [gij.o] Error 1
> make: *** [all-recursive] Error 1
> Since today.
> Any quick ideas?
My fault. I had failed to test make within the libjava directory, and
the top-level-passed CXX was overriding the incorrect setting. Fixed
thusly:
Index: libjava/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4 (CXX): AC_SUBST it, instead of glibcpp_CXX.
* aclocal.m4, configure: Rebuilt.
Index: libjava/acinclude.m4
===================================================================
RCS file: /cvs/gcc/egcs/libjava/acinclude.m4,v
retrieving revision 1.17
diff -u -p -r1.17 acinclude.m4
--- libjava/acinclude.m4 2002/02/22 03:21:28 1.17
+++ libjava/acinclude.m4 2002/02/22 21:30:21
@@ -95,7 +95,7 @@ AC_PROVIDE([AC_PROG_CXX])
# the environment, respect that here.
glibcpp_CXX=$CXX
AC_CHECK_PROGS(glibcpp_CXX, $CCC c++ g++ gcc CC cxx cc++, gcc)
-AC_SUBST(glibcpp_CXX)
+AC_SUBST(CXX)
CXX=$glibcpp_CXX
test -z "$glibcpp_CXX" && AC_MSG_ERROR([no acceptable c++ found in \$PATH])
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer