This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Trouble building 1.0
- To: egcs-bugs at cygnus dot com
- Subject: Trouble building 1.0
- From: Simon Kinahan <skinahan at usa dot net>
- Date: Sun, 07 Dec 1997 18:04:31 +0000
- Organization: FlatNet
Hi,
I downloaded the complete source distribution of EGCS a few days ago,
and I cannot make the thing build.
I ran the configure script with --enable-shared --prefix=/usr/local/egcs
and it detected my system type as i586-linux-glibc1, which I guess is
right as I have libc.so.5.4.23 set up.
The build goes wrong part way through stage 2 when it tries to build
configure-target-libio. Whenever it tries this make fails with error 127
with the following output:
make[1]: Leaving directory `/big/home/simon/egcs-1.0/texinfo'
make[1]: Entering directory `/big/home/simon/egcs-1.0/gcc'
if [ -f libgcc2.ready ] ; then \
true; \
else \
touch libgcc2.ready; \
fi
case "c proto gcov c++ f77 objc" in \
*f77*) top=`pwd`; \
cd f/runtime && make \
GCC_FOR_TARGET="`case '/big/home/simon/egcs-1.0/gcc/xgcc
-B/big/home/simogcs-1.0/gcc/' in \
'./xgcc -B./') echo ${top}/xgcc -B${top}/;; \
*) echo '/big/home/simon/egcs-1.0/gcc/xgcc
-B/big/home/simon/egcs-1.0/gc;; esac`" \
GCC_FLAGS="" CROSS="" AR_FLAGS="rc" AR="ar" BISON="bison"
BISONFLAGS="" C
gcc" CFLAGS="-g -O2" X_CFLAGS="" LDFLAGS="" LEX="flex" LEXFLAGS=""
MAKEINFO="g/home/simon/egcs-1.0/texinfo/makeinfo/makeinfo "
MAKEINFOFLAGS="" RANLIB="rab" RANLIB_TEST="[ -f /usr/bin/ranlib -o -f
/bin/ranlib ]" SHELL="/bin/sh" exerefix="/usr/local/egcs"
prefix="/usr/local/egcs" tooldir="/usr/local/egcs/i58c-linux-gnulibc1"
bindir="/usr/local/egcs/bin"
libsubdir="/usr/local/egcs/libc-lib/i586-pc-linux-gnulibc1/egcs-2.90.21"
\
all ;; \
esac
make[2]: Entering directory `/big/home/simon/egcs-1.0/gcc/f/runtime'
make[2]: Leaving directory `/big/home/simon/egcs-1.0/gcc/f/runtime'
make[1]: Leaving directory `/big/home/simon/egcs-1.0/gcc'
make: *** [configure-target-libio] Error 127
I haven't had much luck trying to figure out what the Makefile is doing,
but I attached an strace to the make process and it seems to execute
egcs-1.0/gcc/xgcc -B/big/home/simon/egcs-1.0/gcc/ --print-multi-lib
and compare libraries/libio/tmpmulti.out using cmp with
libraries/libio/multilib.out
just before it fails.
Could someone point me towards the problem ?
Thanks
Simon
PS. EGCS looks great. Thanks for the hard work.