This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: build problems with egcs-1.0 on linux-i486
- To: AlbertC at millennium dot net
- Subject: Re: build problems with egcs-1.0 on linux-i486
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 18 Dec 1997 02:39:14 +0000
- CC: egcs-bugs at cygnus dot com
- Organization: Network Management Department of Moscow State University
- References: <34987925.1334CFFC@millennium.net>
- Reply-To: egcs-bugs at cygnus dot com
Albert Cranford wrote:
[snip]
> LIBRARY_PATH=/usr/local/qt/lib:/usr/local/qt/lib:
[snip]
> 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. -I./config -c -DL${name} ./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/i586-unknown-linux-gnulibc1/2.7.2.3/cpp
> [switches] input output
> make[2]: *** [libgcc1.a] Error 1
> make[2]: Leaving directory `/usr/src/egcs-1.0/gcc'
> make[1]: *** [bootstrap-lean] Error 2
> make[1]: Leaving directory `/usr/src/egcs-1.0/gcc'
> make: *** [bootstrap-lean] Error 2
Try to remove ending colon in your LIBRARY_PATH, it is
treated as current directory, so gcc [old] searches for
specs file in current directory first and finds just created
specs [see marked line] for new compiler.
Andrey.