This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
one tree builds
- To: egcs at cygnus dot com
- Subject: one tree builds
- From: Joel Sherrill <joel at OARcorp dot com>
- Date: Mon, 24 Nov 1997 16:01:33 -0600 (CST)
Hi,
I am in the process of trying to test 971122 and finding that this
snapshot has broken something in the one tree build procedure since the
970901 snapshot I last grabbed and successfully built. The problem
appears to be that when libgcc1 is built, the cross gas is not found by
xgcc. This happened on both sparc-rtems and m68k-rtems targets so I think
it is a general build issue. Here is the error message form the m68k
build:
cp ../../src/gcc/config/m68k/lb1sf68.asm libgcc1.S
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _double _float
_floatex _eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2
_gesf2 _ltsf2 _lesf2; \
do \
echo ${name}; \
/usr1/rtems/work/tools/build-m68k-tools/gcc/xgcc
-B/usr1/rtems/work/tools/build-m68k-tools/gcc/ -O2 -DCROSS_COMPILE
-DIN_GCC -O2 -g -I./include -g1 -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-fexceptions -Dinhibit_libc -I. -I../../src/gcc -I../../src/gcc/config -c
-DL${name} libgcc1.S; \
if [ $? -eq 0 ] ; then true; else exit 1; fi; \
mv libgcc1.o ${name}.o; \
/usr1/rtems/work/tools/build-m68k-tools/binutils/ar rc tmplibgcc1.a
${name}.o; \
rm -f ${name}.o; \
done
_mulsi3
as: unrecognized option `-c68020'
I realize that the one-tree shell script from gcc 2.7.x will not work
since the gcc reorganization. I am using a script which ends up doing
this:
rm -rf src
mkdir src
cd src
# EGCS has the latest configure scripts
for f in ../${GCC}/*
do
ln -s $f .
done
for f in bfd binutils gas gprof ld opcodes
do
ln -s ../${BINUTILS}/$f .
done
ln -s ../${NEWLIB}/newlib .
Does anyone have any ideas? I was trying to make a test sweep through all
the rtems configurations before the egcs release.
Thanks.
--joel