This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.1 on i586-pc-linux-gnu
- To: vonbrand at sleipnir dot valparaiso dot cl (Horst von Brand)
- Subject: Re: egcs-1.0.1 on i586-pc-linux-gnu
- From: hjl at lucon dot org (H.J. Lu)
- Date: Fri, 9 Jan 1998 20:13:08 -0800 (PST)
- Cc: egcs at cygnus dot com
>
> 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