Installation bug for 1.0.1 on Solaris x86 5.5
D. Bernstein
dan@cssgroup.com
Wed Feb 11 12:35:00 GMT 1998
To Whom it May Concern,
I have found a bug upon installing egcs-1.0.1 on Solaris x86 5.5. This
was an attempt to install into prefix /opt/egcs, NOT the default (/usr/local).
Other than this message, the installation completed without incident. I manually
copied the file f2c.h to /opt/egcs/include. I could not find the file #inst.585#.
Here is the error:
cp: cannot create /usr/local/include/#inst.585#: Permission denied
chmod: WARNING: can't access /usr/local/include/f2c.h
Here is the full installation output:
% cd /home/dan/build/
% make install
/bin/sh ../egcs-1.0.1/mkinstalldirs /opt/egcs /opt/egcs
make[1]: Entering directory `/home/dan/build/gcc'
if [ -f libgcc2.ready ] ; then \
true; \
else \
touch libgcc2.ready; \
fi
if [ -d /opt/egcs ] ; then true ; else mkdir /opt/egcs ; chmod a+rx /opt/egcs ; fi
if [ -d /opt/egcs ] ; then true ; else mkdir /opt/egcs ; chmod a+rx /opt/egcs ; fi
if [ -d /opt/egcs/lib ] ; then true ; else mkdir /opt/egcs/lib ; chmod a+rx /opt/egcs/lib ; fi
if [ -d /opt/egcs/lib/gcc-lib ] ; then true ; else mkdir /opt/egcs/lib/gcc-lib ; chmod a+rx /opt/egcs/lib/gcc-lib ; fi
if [ -d /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5 ] ; then true ; else mkdir /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5 ; chmod a+rx /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5 ; fi
if [ -d /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23 ] ; then true ; else mkdir /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23 ; chmod a+rx /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23 ; fi
if [ -d /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include ] ; then true ; else mkdir /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include ; chmod a+rx /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include ; fi
if [ -d /opt/egcs/bin ] ; then true ; else mkdir /opt/egcs/bin ; chmod a+rx /opt/egcs/bin ; fi
if [ -d /usr/local/include ] ; then true ; else mkdir /usr/local/include ; chmod a+rx /usr/local/include ; fi
if [ -d /opt/egcs/i386-pc-solaris2.5 ] ; then true ; else mkdir /opt/egcs/i386-pc-solaris2.5 ; chmod a+rx /opt/egcs/i386-pc-solaris2.5 ; fi
if [ -d /opt/egcs/i386-pc-solaris2.5/include ] ; then true ; else mkdir /opt/egcs/i386-pc-solaris2.5/include ; chmod a+rx /opt/egcs/i386-pc-solaris2.5/include ; fi
if [ -d /opt/egcs/info ] ; then true ; else mkdir /opt/egcs/info ; chmod a+rx /opt/egcs/info ; fi
parent=`echo /opt/egcs/man/man1|sed -e 's@/[^/]*$@@'`; \
if [ -d $parent ] ; then true ; else mkdir $parent ; chmod a+rx $parent ; fi
if [ -d /opt/egcs/man/man1 ] ; then true ; else mkdir /opt/egcs/man/man1 ; chmod a+rx /opt/egcs/man/man1 ; fi
if [ -f cc1plus ] ; then \
if [ -f g++-cross ] ; then \
rm -f /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c g++-cross /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t`; \
chmod a+x /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t`; \
rm -f /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo c++ | sed $t`; \
ln /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t` /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo c++ | sed $t`; \
else \
rm -f /opt/egcs/bin/`t='s,x,x,'; echo g++ | sed $t`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c g++ /opt/egcs/bin/`t='s,x,x,'; echo g++ | sed $t`; \
chmod a+x /opt/egcs/bin/`t='s,x,x,'; echo g++ | sed $t`; \
rm -f /opt/egcs/bin/`t='s,x,x,'; echo c++ | sed $t`; \
ln /opt/egcs/bin/`t='s,x,x,'; echo g++ | sed $t` /opt/egcs/bin/`t='s,x,x,'; echo c++ | sed $t`; \
fi ; \
fi
if [ -f f771 ] ; then \
if [ -f g77-cross ] ; then \
rm -f /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c g77-cross /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`; \
chmod a+x /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`; \
if [ -f f77-install-ok -o -f ../../egcs-1.0.1/gcc/f77-install-ok ] ; then \
rm -f /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo f77 | sed $t`; \
ln /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t` /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo f77 | sed $t`; \
fi ; \
else \
rm -f /opt/egcs/bin/`t='s,x,x,'; echo g77 | sed $t`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c g77 /opt/egcs/bin/`t='s,x,x,'; echo g77 | sed $t`; \
chmod a+x /opt/egcs/bin/`t='s,x,x,'; echo g77 | sed $t`; \
if [ -f f77-install-ok -o -f ../../egcs-1.0.1/gcc/f77-install-ok ] ; then \
rm -f /opt/egcs/bin/`t='s,x,x,'; echo f77 | sed $t`; \
ln /opt/egcs/bin/`t='s,x,x,'; echo g77 | sed $t` /opt/egcs/bin/`t='s,x,x,'; echo f77 | sed $t`; \
fi ; \
fi ; \
else true; fi
for file in cc1 cc1plus f771 cc1obj; do \
if [ -f $file ] ; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/$file; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c $file /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/$file; \
else true; \
fi; \
done
for file in ld ..; do \
if [ x"$file" != x.. ]; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/$file; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c $file /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/$file; \
else true; fi; \
done
for file in crt1.o crti.o crtn.o crtbegin.o crtend.o ..; do \
if [ x"$file" != x.. ]; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/$file; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $file /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/$file; \
else true; fi; \
done
if [ -f specs ] ; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/specs; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 specs /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/specs; \
fi
if [ -f protoize ]; \
then \
rm -f /opt/egcs/bin/protoize; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c protoize /opt/egcs/bin/protoize; \
rm -f /opt/egcs/bin/unprotoize; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c unprotoize /opt/egcs/bin/unprotoize; \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/SYSCALLS.c.X; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 SYSCALLS.c.X /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/SYSCALLS.c.X; \
chmod a-x /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/SYSCALLS.c.X; \
fi
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/cpp
/bin/sh /home/dan/egcs-1.0.1/install-sh -c cpp /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/cpp
if [ -f gcov ]; \
then \
rm -f /opt/egcs/bin/gcov; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c gcov /opt/egcs/bin/gcov; \
chmod a+x /opt/egcs/bin/gcov; \
fi
rm -rf /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include
mkdir /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include
chmod a+rx /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include
if [ -f fixhdr.ready ] ; then \
true; \
else \
touch fixhdr.ready; \
fi
(cd include; \
tar -cf - .; exit 0) | (cd /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include; tar xpBf - )
if [ -f /opt/egcs/i386-pc-solaris2.5/include/assert.h ]; \
then \
if grep "__eprintf" /opt/egcs/i386-pc-solaris2.5/include/assert.h >/dev/null; \
then \
rm -f /opt/egcs/i386-pc-solaris2.5/include/assert.h; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/assert.h /opt/egcs/i386-pc-solaris2.5/include/assert.h; \
chmod a-x /opt/egcs/i386-pc-solaris2.5/include/assert.h; \
else true; \
fi; \
else \
rm -f /opt/egcs/i386-pc-solaris2.5/include/assert.h; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/assert.h /opt/egcs/i386-pc-solaris2.5/include/assert.h; \
chmod a-x /opt/egcs/i386-pc-solaris2.5/include/assert.h; \
fi
files=`cd /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include; find . -type l -print 2>/dev/null`; \
if [ $? -eq 0 ]; then \
dir=`cd include; pwd`; \
for i in $files; do \
dest=`ls -ld /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include/$i | sed -n 's/.*-> //p'`; \
if expr "$dest" : "$dir.*" > /dev/null; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include/$i; \
ln -s `echo $i | sed "s|/[^/]*|/..|g" | sed 's|/..$||'``echo "$dest" | sed "s|$dir||"` /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include/$i; \
fi; \
done; \
fi
if [ -f libgcc.a ] ; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libgcc.a; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libgcc.a /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libgcc.a; \
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then \
(cd /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23; true libgcc.a); else true; fi; \
chmod a-x /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libgcc.a; \
else true; fi
if [ -f cc1plus ] ; then \
if [ -f g++-cross ] ; then \
rm -f /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t`.1; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/cp/g++.1 /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t`.1; \
chmod a-x /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g++ | sed $t`.1; \
else \
rm -f /opt/egcs/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/cp/g++.1 /opt/egcs/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
chmod a-x /opt/egcs/man/man1/`t='s,x,x,'; echo g++ | sed $t`.1; \
fi; \
else true; fi
if [ -f f771 ] ; then \
if [ -f g77-cross ] ; then \
rm -f /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`.1; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/f/g77.1 /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`.1; \
chmod a-x /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`.1; \
if [ -f f77-install-ok -o -f ../../egcs-1.0.1/gcc/f77-install-ok ] ; then \
rm -f /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo f77 | sed $t`.1; \
ln /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo g77 | sed $t`.1 /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo f77 | sed $t`.1; \
fi ;\
else \
rm -f /opt/egcs/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/f/g77.1 /opt/egcs/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
chmod a-x /opt/egcs/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1; \
if [ -f f77-install-ok -o -f ../../egcs-1.0.1/gcc/f77-install-ok ] ; then \
rm -f /opt/egcs/man/man1/`t='s,x,x,'; echo f77 | sed $t`.1; \
ln /opt/egcs/man/man1/`t='s,x,x,'; echo g77 | sed $t`.1 /opt/egcs/man/man1/`t='s,x,x,'; echo f77 | sed $t`.1; \
fi ;\
fi; \
else true; fi
if [ -f gcc-cross ] ; then \
rm -f /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo gcc | sed -e $t`.1; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/gcc.1 /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo gcc | sed -e $t`.1; \
chmod a-x /opt/egcs/man/man1/`t='s,^,i386-pc-solaris2.5-,'; echo gcc | sed -e $t`.1; \
else \
rm -f /opt/egcs/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/gcc.1 /opt/egcs/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
chmod a-x /opt/egcs/man/man1/`t='s,x,x,'; echo gcc | sed -e $t`.1; \
fi
rm -f /opt/egcs/man/man1/cccp.1
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 ../../egcs-1.0.1/gcc/cccp.1 /opt/egcs/man/man1/cccp.1
chmod a-x /opt/egcs/man/man1/cccp.1
/home/dan/build/texinfo/makeinfo/makeinfo -I../../egcs-1.0.1/gcc ../../egcs-1.0.1/gcc/cpp.texi -o cpp.info
Making info file `cpp.info' from `../../egcs-1.0.1/gcc/cpp.texi'.
/home/dan/build/texinfo/makeinfo/makeinfo -I../../egcs-1.0.1/gcc ../../egcs-1.0.1/gcc/gcc.texi -o gcc.info
Making info file `gcc.info' from `../../egcs-1.0.1/gcc/gcc.texi'.
/home/dan/build/texinfo/makeinfo/makeinfo -I../../egcs-1.0.1/gcc/f ../../egcs-1.0.1/gcc/f/g77.texi -o f/g77.info
Making info file `f/g77.info' from `../../egcs-1.0.1/gcc/f/g77.texi'.
rm -f /opt/egcs/info/g77.info*
for f in f/g77.info*; do \
realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $f /opt/egcs/info/$realfile; \
done
chmod a-x /opt/egcs/info/g77.info*
rm -f /opt/egcs/info/cpp.info* /opt/egcs/info/gcc.info*
for f in cpp.info* gcc.info*; do \
realfile=`echo $f | sed -e 's|.*/\([^/]*\)$|\1|'`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $f /opt/egcs/info/$realfile; \
done
chmod a-x /opt/egcs/info/cpp.info* /opt/egcs/info/gcc.info*
case "c proto gcov c++ f77 objc" in \
*f77*) top=`pwd`; \
cd f/runtime && make \
GCC_FOR_TARGET="`case '/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/' in \
'./xgcc -B./') echo ${top}/xgcc -B${top}/;; \
*) echo '/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/';; esac`" \
GCC_FLAGS="" CROSS="" AR_FLAGS="cr" AR="ar" BISON="bison" BISONFLAGS="" CC="gcc" CFLAGS="-g -O2" X_CFLAGS="" LDFLAGS="" LEX="lex" LEXFLAGS="" MAKEINFO="/home/dan/build/texinfo/makeinfo/makeinfo " MAKEINFOFLAGS="" RANLIB="true" RANLIB_TEST="[ -f /usr/bin/ranlib -o -f /bin/ranlib ]" SHELL="/bin/sh" exec_prefix="/opt/egcs" prefix="/opt/egcs" tooldir="/opt/egcs/i386-pc-solaris2.5" bindir="/opt/egcs/bin" libsubdir="/opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23" \
all ;; \
esac
make[2]: Entering directory `/home/dan/build/gcc/f/runtime'
make[2]: Leaving directory `/home/dan/build/gcc/f/runtime'
if [ -f libf2c.a ] ; then \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libf2c.a /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libf2c.a; \
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then \
(cd /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23; true libf2c.a); else true; fi; \
chmod a-x /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libf2c.a; \
else true; fi
if [ -f include/f2c.h ] ; then \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 include/f2c.h /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/include/f2c.h; \
else true; fi
if test -n "[ -f f2c-install-ok -o -f ../../egcs-1.0.1/gcc/f2c-install-ok ]" && test -f include/f2c.h; then \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 include/f2c.h /usr/local/include/f2c.h; \
chmod a+r /usr/local/include/f2c.h; \
else true; fi
cp: cannot create /usr/local/include/#inst.585#: Permission denied
chmod: WARNING: can't access /usr/local/include/f2c.h
make[1]: [install-f2c-header] Error 1 (ignored)
if test -n "[ -f f2c-install-ok -o -f ../../egcs-1.0.1/gcc/f2c-install-ok ]" && test -f libf2c.a; then \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libf2c.a /opt/egcs/lib/libf2c.a; \
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then \
(cd /opt/egcs/lib; true libf2c.a); else true; fi; \
chmod a-x /opt/egcs/lib/libf2c.a; \
else true; fi
if [ -f libobjc.a ] ; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libobjc.a; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libobjc.a /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libobjc.a; \
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then \
(cd /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23; true libobjc.a); else true; fi; \
chmod a-x /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libobjc.a; \
else true; fi
if [ -f libobjc_s.a ] ; then \
rm -f /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libobjc_s.a; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libobjc_s.a /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libobjc_s.a; \
if [ -f /usr/bin/ranlib -o -f /bin/ranlib ] ; then \
(cd /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23; true libobjc_s.a); else true; fi; \
chmod a-x /opt/egcs/lib/gcc-lib/i386-pc-solaris2.5/egcs-2.90.23/libobjc_s.a; \
else true; fi
if [ -f libobjc.dll ] ; then \
rm -f /opt/egcs/bin/libobjc.dll; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libobjc.dll /opt/egcs/bin/libobjc.dll; \
else true; fi
if [ -f gcc-cross ] ; then \
rm -f /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo gcc | sed -e $t`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c gcc-cross /opt/egcs/bin/`t='s,^,i386-pc-solaris2.5-,'; echo gcc | sed -e $t`; \
if [ -d /opt/egcs/i386-pc-solaris2.5/bin/. ] ; then \
rm -f /opt/egcs/i386-pc-solaris2.5/bin/gcc; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c gcc-cross /opt/egcs/i386-pc-solaris2.5/bin/gcc; \
else true; fi; \
else \
rm -f /opt/egcs/bin/`t='s,x,x,'; echo gcc | sed -e $t`; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c xgcc /opt/egcs/bin/`t='s,x,x,'; echo gcc | sed -e $t`; \
rm -f /opt/egcs/bin/i386-pc-solaris2.5-gcc-1; \
ln /opt/egcs/bin/`t='s,x,x,'; echo gcc | sed -e $t` /opt/egcs/bin/i386-pc-solaris2.5-gcc-1; \
mv /opt/egcs/bin/i386-pc-solaris2.5-gcc-1 /opt/egcs/bin/i386-pc-solaris2.5-gcc; \
fi
make[1]: Leaving directory `/home/dan/build/gcc'
make[1]: Entering directory `/home/dan/build/etc'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/dan/build/etc'
make[1]: Entering directory `/home/dan/build/libiberty'
make[2]: Entering directory `/home/dan/build/libiberty'
make[2]: Leaving directory `/home/dan/build/libiberty'
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libiberty.a /opt/egcs/lib/libiberty.a.n
( cd /opt/egcs/lib ; true libiberty.a.n )
mv -f /opt/egcs/lib/libiberty.a.n /opt/egcs/lib/libiberty.a
make[1]: Leaving directory `/home/dan/build/libiberty'
make[1]: Entering directory `/home/dan/build/texinfo'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/home/dan/build/texinfo'
make[1]: Entering directory `/home/dan/build/libraries/libio'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
if [ "_G_config.h" != "" ]; then \
rm -f /opt/egcs/i386-pc-solaris2.5/include/_G_config.h ; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 _G_config.h /opt/egcs/i386-pc-solaris2.5/include/_G_config.h || exit 1; \
else true; \
fi ; \
cd ../../../egcs-1.0.1/libio; \
for FILE in *.h; do if [ $FILE != _G_config.h ]; then \
rm -f /opt/egcs/include/g++/$FILE ; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $FILE /opt/egcs/include/g++/$FILE ; \
chmod a-x /opt/egcs/include/g++/$FILE ; \
else true; fi; done ; \
else true; \
fi
make[2]: Entering directory `/home/dan/build/libraries/libio'
if [ -z "" ]; then \
true; \
else \
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd ../../../egcs-1.0.1/libio; pwd`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "INSTALL=/bin/sh /home/dan/egcs-1.0.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/dan/egcs-1.0.1/install-sh -c " "prefix=/opt/egcs" "exec_prefix=/opt/egcs" "tooldir=/opt/egcs/i386-pc-solaris2.5" "AR=ar" "AR_FLAGS=cr" "CC=/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/" "CXX=/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=nm" "RANLIB=true" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/dan/build/texinfo/makeinfo/makeinfo " "SHLIB=" "SHCURSES=" "PICFLAG=-fpic" "RUNTESTFLAGS=" \
CFLAGS="-g -O2 ${flags}" \
CXXFLAGS="-g -O2 ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
install); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[2]: Leaving directory `/home/dan/build/libraries/libio'
make[1]: Leaving directory `/home/dan/build/libraries/libio'
make[1]: Entering directory `/home/dan/build/libraries/libstdc++'
rootme=`pwd`/ ; export rootme ; \
if [ -z "" ]; then \
cd ../../../egcs-1.0.1/libstdc++; \
for FILE in cassert cctype cerrno cfloat ciso646 climits clocale cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype string stdexcept algorithm deque list map queue set stack vector utility functional iterator memory numeric; do \
rm -f /opt/egcs/include/g++/$FILE ; \
if [ -f stl/$FILE ]; then \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 stl/$FILE /opt/egcs/include/g++/$FILE ; \
else \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $FILE /opt/egcs/include/g++/$FILE ; \
fi ; \
chmod a-x /opt/egcs/include/g++/$FILE ; \
done ; \
for FILE in *.h std/*.*; do \
rm -f /opt/egcs/include/g++/$FILE ; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $FILE /opt/egcs/include/g++/$FILE ; \
chmod a-x /opt/egcs/include/g++/$FILE ; \
done ; \
cd stl; \
for FILE in *.h; do \
rm -f /opt/egcs/include/g++/$FILE ; \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $FILE /opt/egcs/include/g++/$FILE ; \
chmod a-x /opt/egcs/include/g++/$FILE ; \
done ; \
else true ; \
fi
rootme=`pwd`/ ; export rootme ; \
for FILE in libstdc++.a libstdc++.so.2.8.0 libstdc++.so ; do \
rm -f /opt/egcs/lib/$FILE ; \
if [ $FILE = libstdc++.so ] ; then \
ln -f -s libstdc++.so.2.8.0 /opt/egcs/lib/$FILE ; \
elif [ $FILE = mshlink ]; then \
for FILE in libstdc++.so.`echo 2.8.0 | sed 's/\([0-9][.][0-9]\).*/\1/'` ; do \
rm -f /opt/egcs/lib/$FILE ; \
ln -f -s libstdc++.so.2.8.0 /opt/egcs/lib/$FILE ; \
done; \
elif [ $FILE = libstdc++.so.2.8.0 ]; then \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c $FILE /opt/egcs/lib/$FILE ; \
: On the HP, shared libraries must be mode 555. ;\
chmod 555 /opt/egcs/lib/$FILE ; \
else \
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 $FILE /opt/egcs/lib/$FILE ; \
true /opt/egcs/lib/$FILE ; \
chmod a-x /opt/egcs/lib/$FILE ; \
fi ; \
done
make[2]: Entering directory `/home/dan/build/libraries/libstdc++'
if [ -z "" ]; then \
true; \
else \
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd ../../../egcs-1.0.1/libstdc++; pwd`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "INSTALL=/bin/sh /home/dan/egcs-1.0.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/dan/egcs-1.0.1/install-sh -c " "prefix=/opt/egcs" "exec_prefix=/opt/egcs" "tooldir=/opt/egcs/i386-pc-solaris2.5" "AR=ar" "AR_FLAGS=cr" "CC=/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/" "CXX=/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/" "CFLAGS=-g -O2" "CXXFLAGS=-g -O2" "NM=nm" "RANLIB=true" "LIBCFLAGS=-g -O2" "LIBCXXFLAGS=-g -O2 -fno-implicit-templates" "LOADLIBES=" "LDFLAGS=" "MAKEINFO=/home/dan/build/texinfo/makeinfo/makeinfo " "SHLIB=libstdc++.so.2.8.0" "SHCURSES=" "PICFLAG=-fpic" "RUNTESTFLAGS=" \
CFLAGS="-g -O2 ${flags}" \
CXXFLAGS="-g -O2 ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
install); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[2]: Leaving directory `/home/dan/build/libraries/libstdc++'
make[1]: Leaving directory `/home/dan/build/libraries/libstdc++'
make[1]: Entering directory `/home/dan/build/libraries/libiberty'
make[2]: Entering directory `/home/dan/build/libraries/libiberty'
make[2]: Leaving directory `/home/dan/build/libraries/libiberty'
make[2]: Entering directory `/home/dan/build/libraries/libiberty'
if [ -z "" ]; then \
true; \
else \
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd ../../../egcs-1.0.1/libiberty; pwd`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=cr" "CC=/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/" "CFLAGS=-g -O2" "LIBCFLAGS=-g -O2" "EXTRA_OFILES=" "HDEFINES=-DHAVE_SYSCONF" "INSTALL=/bin/sh /home/dan/egcs-1.0.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/dan/egcs-1.0.1/install-sh -c " "LDFLAGS=" "LOADLIBES=" "PICFLAG=-fpic" "RANLIB=true" "SHELL=/bin/sh" \
CFLAGS="-g -O2 ${flags}" \
CXXFLAGS="-g -O2 ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
all); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[2]: Leaving directory `/home/dan/build/libraries/libiberty'
/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644 libiberty.a /opt/egcs/i386-pc-solaris2.5/lib/libiberty.a.n
( cd /opt/egcs/i386-pc-solaris2.5/lib ; true libiberty.a.n )
mv -f /opt/egcs/i386-pc-solaris2.5/lib/libiberty.a.n /opt/egcs/i386-pc-solaris2.5/lib/libiberty.a
make[2]: Entering directory `/home/dan/build/libraries/libiberty'
if [ -z "" ]; then \
true; \
else \
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd ../../../egcs-1.0.1/libiberty; pwd`/; export srcrootpre; \
lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
compiler="/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/"; \
for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
dir=`echo $i | sed -e 's/;.*$//'`; \
if [ "${dir}" = "." ]; then \
true; \
else \
if [ -d ../${dir}/${lib} ]; then \
flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
if (cd ../${dir}/${lib}; make "AR=ar" "AR_FLAGS=cr" "CC=/home/dan/build/gcc/xgcc -B/home/dan/build/gcc/" "CFLAGS=-g -O2" "LIBCFLAGS=-g -O2" "EXTRA_OFILES=" "HDEFINES=-DHAVE_SYSCONF" "INSTALL=/bin/sh /home/dan/egcs-1.0.1/install-sh -c" "INSTALL_DATA=/bin/sh /home/dan/egcs-1.0.1/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /home/dan/egcs-1.0.1/install-sh -c " "LDFLAGS=" "LOADLIBES=" "PICFLAG=-fpic" "RANLIB=true" "SHELL=/bin/sh" \
CFLAGS="-g -O2 ${flags}" \
CXXFLAGS="-g -O2 ${flags}" \
LIBCFLAGS="-g -O2 ${flags}" \
LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
install); then \
true; \
else \
exit 1; \
fi; \
else true; \
fi; \
fi; \
done; \
fi
make[2]: Leaving directory `/home/dan/build/libraries/libiberty'
make[1]: Leaving directory `/home/dan/build/libraries/libiberty'
Compilation finished at Wed Feb 11 14:30:45
--
Daniel J. Bernstein
Partner, Computer Science Services Group, LLC
E: dan@cssgroup.com
V: 316.269.9090
F: 316.269.2650
W: http://www2.southwind.net/~css
Obligatory quote:
"A lot has been said about politics; some of it complimentary,
but most of it accurate."
-- Eric Idle
More information about the Gcc-bugs
mailing list