This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: build failure on darwin


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

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