Steve Underwood wrote:
 
> If you want the current stable version, use GCC 3.2.3, and add the
> MSP430 specific code from the gcc-3.3 directory in CVS.
> 
I did this.
In the gcc-3.2.3 directory
cp -a /usr/local/garst/mspgcc/gcc/gcc-3.3/gcc ./
mkdir build
cd build
../configure --target=msp430 --prefix=/usr/local/msp430 --disable-nls
--enable-languages=c,c++

I tried it both with the full gcc-3.2.3 and core + g++
I had previously done the same on Apr 28, and it worked.
I updated binutils to the Sept 23 weekly build.

Now I get the errors shown in the attached make.log :(

Help!

Garst
make[1]: Entering directory `/usr/local/garst/src/gcc-3.2.3/build/libiberty'
make[2]: Entering directory 
`/usr/local/garst/src/gcc-3.2.3/build/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/usr/local/garst/src/gcc-3.2.3/build/libiberty/testsuite'
make[1]: Leaving directory `/usr/local/garst/src/gcc-3.2.3/build/libiberty'
make[1]: Entering directory `/usr/local/garst/src/gcc-3.2.3/build/gcc'
(cd intl && make all)
make[2]: Entering directory `/usr/local/garst/src/gcc-3.2.3/build/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/garst/src/gcc-3.2.3/build/gcc/intl'
echo '/*WARNING: This file is automatically generated!*/' >tmp-c-parse.y
sed -e "/^ifobjc$/,/^end ifobjc$/d" \
  -e "/^ifc$/d" -e "/^end ifc$/d" \
  ../../gcc/c-parse.in >>tmp-c-parse.y
/bin/sh ../../gcc/move-if-change tmp-c-parse.y ../../gcc/c-parse.y
../../gcc/c-parse.y is unchanged
make GCC_FOR_TARGET="/usr/local/garst/src/gcc-3.2.3/build/gcc/xgcc 
-B/usr/local/garst/src/gcc-3.2.3/build/gcc/ -B/usr/local/msp430/msp430/bin/ 
-B/usr/local/msp430/msp430/lib/ -isystem /usr/local/msp430/msp430/include" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  AR_FOR_TARGET="msp430-ar" \
  AR_CREATE_FOR_TARGET="msp430-ar  rc" \
  AR_FLAGS_FOR_TARGET="" \
  CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="msp430-ranlib" \
  RANLIB_TEST_FOR_TARGET="[ -f msp430-ranlib ] || ( [ "i586-pc-linux-gnu" = 
"msp430-unknown-none" ] && [ -f /usr/bin/ranlib -o -f /bin/ranlib ] )" \
  NM_FOR_TARGET="/usr/local/msp430/msp430/bin/nm" AWK="gawk" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -DDF=SF 
-Dinhibit_libc -g -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc" \
  INCLUDES="-I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config 
-I../../gcc/../include" \
  CONFIG_H="config.h auto-host.h ../../gcc/../include/ansidecl.h 
../../gcc/config/msp430/msp430.h defaults.h insn-constants.h insn-flags.h" 
MACHMODE_H="machmode.h machmode.def" \
  LIB1ASMSRC='msp430/libgcc.S' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[2]: Entering directory `/usr/local/garst/src/gcc-3.2.3/build/gcc'
for d in libgcc msp1 libgcc/msp1 msp2 libgcc/msp2; do \
  if [ -d $d ]; then true; else /bin/sh ../../gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
make[2]: Leaving directory `/usr/local/garst/src/gcc-3.2.3/build/gcc'
echo timestamp > stmp-multilib
make[1]: Leaving directory `/usr/local/garst/src/gcc-3.2.3/build/gcc'
make[1]: Entering directory 
`/usr/local/garst/src/gcc-3.2.3/build/msp430/libiberty'
if [ x"" != x ]; then \
  /usr/local/garst/src/gcc-3.2.3/build/gcc/xgcc 
-B/usr/local/garst/src/gcc-3.2.3/build/gcc/ -B/usr/local/msp430/msp430/bin/ 
-B/usr/local/msp430/msp430/lib/ -isystem /usr/local/msp430/msp430/include -c 
-DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../libiberty/../include  -W -Wall 
-Wtraditional -pedantic  ../../../libiberty/cp-demangle.c -o pic/cp-demangle.o; 
\
else true; fi
/usr/local/garst/src/gcc-3.2.3/build/gcc/xgcc 
-B/usr/local/garst/src/gcc-3.2.3/build/gcc/ -B/usr/local/msp430/msp430/bin/ 
-B/usr/local/msp430/msp430/lib/ -isystem /usr/local/msp430/msp430/include -c 
-DHAVE_CONFIG_H -O2 -g -O2 -I. -I../../../libiberty/../include  -W -Wall 
-Wtraditional -pedantic ../../../libiberty/cp-demangle.c
../../../libiberty/cp-demangle.c: In function `substitution_add':
../../../libiberty/cp-demangle.c:589: warning: implicit declaration of function 
`realloc'
../../../libiberty/cp-demangle.c: In function `cplus_demangle_v3':
../../../libiberty/cp-demangle.c:3761: warning: implicit declaration of 
function `fprintf'
../../../libiberty/cp-demangle.c:3761: `stderr' undeclared (first use in this 
function)
../../../libiberty/cp-demangle.c:3761: (Each undeclared identifier is reported 
only once
../../../libiberty/cp-demangle.c:3761: for each function it appears in.)
../../../libiberty/cp-demangle.c:3762: warning: implicit declaration of 
function `abort'
../../../libiberty/cp-demangle.c: In function `java_demangle_v3':
../../../libiberty/cp-demangle.c:3806: `stderr' undeclared (first use in this 
function)
../../../libiberty/cp-demangle.c: In function `demangle_v3_with_details':
../../../libiberty/cp-demangle.c:3899: `stderr' undeclared (first use in this 
function)
make[1]: *** [cp-demangle.o] Error 1
make[1]: Leaving directory 
`/usr/local/garst/src/gcc-3.2.3/build/msp430/libiberty'
make: *** [all-target-libiberty] Error 2

Reply via email to