From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: vonbrand@sleipnir.valparaiso.cl (Horst von Brand) Cc: egcs@cygnus.com Subject: Re: egcs-1.0.1 on i586-pc-linux-gnu Date: Fri, 09 Jan 1998 20:45:00 -0000 Message-id: References: <199801041850.PAA27796@sleipnir.valparaiso.cl> X-SW-Source: 1998-01/msg00239.html > > Pentium, libc-2.0.5c-13 (RedHat-5.0 update), binutils-2.8.1.0.18, > dejagnu-971222 > --enable-{shared,threads,haifa} > C{,XX}FLAGS='-O2 -fomit-frame-pointer -march=pentium' > > Test was run before installing. > > WARNING: Couldn't find the global config file. > Test Run By root on Sun Jan 4 13:12:23 1998 > Native configuration is i586-pc-linux-gnu > > === libio tests === > > FAIL: tfformat.c compilation > FAIL: tiformat.c compilation > FAIL: tstdiomisc.c compilation > This patch may work. Although it is not a perfect, it works for me. H.J. --- --- gcc/Makefile.in.orig Tue Dec 9 10:43:12 1997 +++ gcc/Makefile.in Thu Jan 8 16:37:39 1998 @@ -2455,6 +2455,10 @@ if [ -f $${rootme}/../expect/expect ] ; then \ TCL_LIBRARY=$${srcdir}/../tcl/library ; \ export TCL_LIBRARY ; fi ; \ + if [ -x $${rootme}/../libstdc++ ] ; then \ + SAVE_LLPATH="$${SAVE_LLPATH-$$LD_LIBRARY_PATH}"; export SAVE_LLPATH; \ + LD_LIBRARY_PATH="$${rootme}/../libstdc++:$$SAVE_LLPATH" ; \ + export LD_LIBRARY_PATH ; fi ; \ $(RUNTEST) --tool g++ $(RUNTESTFLAGS) check-gcc: testsuite/site.exp