egcs installation bug

david@one.devoid.net david@one.devoid.net
Sat Jan 3 12:29:00 GMT 1998


I installed egcs in /usr/egcs and gcc-2.7.2.3 in /usr/gcc and made
links to them in /usr/bin. When I try to compile egcs with "make" I
get the following error:

rm -f stmp-f2c.h
case "c proto gcov  c++ f77 objc" in \
*f77*) top=`pwd`; \
src=`cd .; pwd`; \
  cd f/runtime; \
  CROSS="" AR_FLAGS="rc" AR="ar" BISON="bison" BISONFLAGS="" CC="gcc" CFLAGS="-g -O2" X_CFLAGS="" LDFLAGS="" LEX="flex" LEXFLAGS="" MAKEINFO="/usr/src/egcs-1.0.1/texinfo/makeinfo/makeinfo " MAKEINFOFLAGS="" RANLIB="ranlib" RANLIB_TEST="[ -f /usr/bin/ranlib -o -f /bin/ranlib ]" SHELL="/bin/sh" exec_prefix="/usr/egcs" prefix="/usr/egcs" tooldir="/usr/egcs/i586-pc-linux-gnulibc1" bindir="/usr/egcs/bin" libsubdir="/usr/egcs/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.23" \
  CC="`case '/usr/src/egcs-1.0.1/gcc/xgcc -B/usr/src/egcs-1.0.1/gcc/' in \
     './xgcc -B./') echo ${top}/xgcc -B${top}/;; \
     *) echo '/usr/src/egcs-1.0.1/gcc/xgcc -B/usr/src/egcs-1.0.1/gcc/';; esac`" \
  CONFIG_SITE=/dev/null /bin/sh \
  ${src}/f/runtime/configure --srcdir=${src}/f/runtime ;; \
esac
loading site script /dev/null
/usr/src/egcs-1.0.1/gcc/f/runtime/configure: .: /dev/null: not a regular file
loading cache ./config.cache
checking for gcc... (cached) /usr/src/egcs-1.0/gcc/xgcc -B/usr/src/egcs-1.0/gcc/
checking whether the C compiler (/usr/src/egcs-1.0/gcc/xgcc -B/usr/src/egcs-1.0/gcc/ -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make[1]: *** [stmp-f2c.h] Error 1
make[1]: Leaving directory `/usr/src/egcs-1.0.1/gcc'
make: *** [all-gcc] Error 2



More information about the Gcc-bugs mailing list