This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Can't compile egcs-1.0.1 on Redhat 5.0 Linux
- To: egcs at cygnus dot com
- Subject: Can't compile egcs-1.0.1 on Redhat 5.0 Linux
- From: Ravi Nagabhyru <ravi at future-minds dot com>
- Date: Sat, 21 Feb 1998 11:01:13 -0500
- Organization: Future Minds Inc.
I am trying to compile egcs-1.0.1 on Redhat 5.0 Linux and I keep getting the
following error.
.
. [lines removed]
.
./xgcc -B./ -dumpspecs > tmp-specs
mv tmp-specs specs
rm -f tmplibgcc1.a
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _lshrsi3 _ashrsi3 _ashlsi3
_divdf3 _muldf3 _negdf2 _adddf3 _subdf3 _fixdfsi _fixsfsi _floatsidf _floatsisf
_truncdfsf2 _extendsfdf2 _addsf3 _negsf2 _subsf3 _mulsf3 _divsf3 _eqdf2 _nedf2
_gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2 _lesf2; \
do \
echo ${name}; \
rm -f ${name}.o; \
cc -DIN_LIBGCC1 -O -I. -I../../egcs-1.0.1/gcc -I../../egcs-1.0.1/gcc/config -c
-DL${name} ../../egcs-1.0.1/gcc/libgcc1.c; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mv libgcc1.o ${name}.o; \
ar qc tmplibgcc1.a ${name}.o; \
rm -f ${name}.o; \
done
_mulsi3
cpp: Usage: /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/cpp [switches] input
output
make[2]: *** [libgcc1.a] Error 1
make[2]: Leaving directory `/usr/local/src/egcs-1.0.1.objs/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/local/src/egcs-1.0.1.objs/gcc'
make: *** [bootstrap] Error 2
Could someone help me?
Thanks,
Ravi