public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem building gcc for arm-pid
@ 2001-02-06 15:26 Jason Finnegan
  2001-02-06 16:30 ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Finnegan @ 2001-02-06 15:26 UTC (permalink / raw)
  To: gcc-help

I've been folowing the steps to build gcc for the arm-pid board.  The
binutils seem to be created normally.  When I try to execute the line:

    make -w all-gcc install-gcc \ 
      LANGUAGES="c c++" 2>&1 | tee make.out 

I get quite a few error messages and the arm-pid-gcc is never
created.  Please let me know what to do.  For reference, here is the
output generated after using the above command:

make: Entering directory `/tmp/build/gcc'
make[1]: Entering directory `/tmp/build/gcc/libiberty'
make[2]: Entering directory `/tmp/build/gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gcc/libiberty/testsuite'
make[1]: Leaving directory `/tmp/build/gcc/libiberty'
make[1]: Entering directory `/tmp/build/gcc/texinfo'
make all-recursive
make[2]: Entering directory `/tmp/build/gcc/texinfo'
Making all in intl
make[3]: Entering directory `/tmp/build/gcc/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gcc/texinfo/intl'
Making all in lib
make[3]: Entering directory `/tmp/build/gcc/texinfo/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gcc/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/tmp/build/gcc/texinfo/makeinfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gcc/texinfo/makeinfo'
make[2]: Leaving directory `/tmp/build/gcc/texinfo'
make[1]: Leaving directory `/tmp/build/gcc/texinfo'
make[1]: Entering directory `/tmp/build/gcc/gcc'
(cd intl && make all)
make[2]: Entering directory `/tmp/build/gcc/gcc/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gcc/gcc/intl'
for i in `/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/arm-elf/bin/
-I/tools/H-i686-pc-cygwin/arm-elf/include --print-multi-lib`; do \
  dir=`echo $i | sed -e 's/;.*$//'`; \
  flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
  make GCC_FOR_TARGET="/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/arm-elf/bin/
-I/tools/H-i686-pc-cygwin/arm-elf/include" \
    AR_FOR_TARGET="arm-elf-ar" \
    AR_FLAGS_FOR_TARGET="rc" \
    CC="gcc" CFLAGS="-g -O2" \
    RANLIB_FOR_TARGET="arm-elf-ranlib" \
    RANLIB_TEST_FOR_TARGET="[ -f arm-elf-ranlib ] || ( [
"i686-pc-cygwin32" = "arm-unknown-elf" ] && [ -f /usr/bin/ranlib -o -f
/bin/ranlib ] )" \
    LANGUAGES="c c++" \
    HOST_PREFIX="" HOST_PREFIX_1="loser-" \
    LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include
-Dinhibit_libc  -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
${flags}" \
    MULTILIB_CFLAGS="${flags}" \
    LIBGCC1="libgcc1-asm.a" LIBGCC2="libgcc2.a" \
    dir="${dir}" stmp-multilib-sub; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
done
make[2]: Entering directory `/tmp/build/gcc/gcc'
rm -f libgcc2.a
if [ -d . ]; then \
  cd .; \
  rm -f libgcc.a crtbegin.o crtend.o; \
else true; \
fi
make GCC_FOR_TARGET="/tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/arm-elf/bin/
-I/tools/H-i686-pc-cygwin/arm-elf/include" \
  AR_FOR_TARGET="arm-elf-ar" \
  AR_FLAGS_FOR_TARGET="rc" \
  CC="gcc" CFLAGS="-g -O2" \
  HOST_PREFIX="" HOST_PREFIX_1="loser-" \
  LANGUAGES="c c++" \
  LIBGCC2_CFLAGS="-O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include
-Dinhibit_libc  -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc
" libgcc2.a
make[3]: Entering directory `/tmp/build/gcc/gcc'
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2
_floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi
_fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi
_fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab
_clear_cache _trampoline __main _exit _ctors _pure; \
do \
  echo ${name}; \
  /tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/arm-elf/bin/
-I/tools/H-i686-pc-cygwin/arm-elf/include -O2  -DCROSS_COMPILE -DIN_GCC
-g -O2 -I./include  -Dinhibit_libc  -g1  -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc   -I. -I/src/gcc/gcc-2.95.2/gcc
-I/src/gcc/gcc-2.95.2/gcc/config -I/src/gcc/gcc-2.95.2/gcc/../include -c
-DL${name} \
       /src/gcc/gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  arm-elf-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
In file included from /src/gcc/gcc-2.95.2/gcc/config/arm/aout.h:301,
                 from /src/gcc/gcc-2.95.2/gcc/config/arm/elf.h:354,
                 from
/src/gcc/gcc-2.95.2/gcc/config/arm/unknown-elf.h:171,
                 from tm.h:6,
                 from /src/gcc/gcc-2.95.2/gcc/config/arm/xm-arm.h:55,
                 from tconfig.h:5,
                 from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:33:
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:226: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:417: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:590: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:597: `SImode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:597: warning: data definition has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:598: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:675: parse error before `=='
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:804: `PIC_OFFSET_TABLE_REGNUM'
undeclared here (not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:804: variable `call_used_regs'
has initializer but incomplete type
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:804: warning: data definition has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:805: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:809: conflicting types for
`call_used_regs'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:804: previous declaration of
`call_used_regs'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:809: invalid initializer
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:809: warning: data definition has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:810: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:822: parse error before `>='
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:915: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:938: parse error before `<'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1028: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1030: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1047: `val' undeclared here (not
in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1047: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1047: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1049: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1057: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1057: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1058: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1058: parse error before `&'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1226: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1227: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1233: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1233: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1261: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1263: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1266: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1267: parse error before
character constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1268: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1269: `SYMBOL_REF' undeclared
here (not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1269: `Pmode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1269: `temp' undeclared here (not
in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1269: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1269: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1270: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1270: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1270: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1270: parse error before
character constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1284: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1284: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1317: parse error before `=='
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1336: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1358: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1358: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1359: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1378: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1381: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1381: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1381: parse error before
character constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1382: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1382: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1382: parse error before
character constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1398: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1420: parse error before `<'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1426: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1474: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1490: parse error before `<'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1496: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1450: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1453: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1462: variable `code' has
initializer but incomplete type
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1462: `INDEX' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1464: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1473: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1479: `INDEX' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1479: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1479: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1480: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1480: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1483: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1493: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1499: `HImode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1499: `QImode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1500: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1501: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1515: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1519: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1532: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1543: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1543: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1545: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1545: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1546: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1547: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1548: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1568: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1590: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1594: redefinition of `xop1'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1543: `xop1' previously defined
here
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1594: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1594: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1596: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1600: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1603: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1604: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1604: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1606: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1622: `SImode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1622: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1622: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1623: `SImode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1623: `xop0' undeclared here (not
in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1624: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1624: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1625: warning: parameter names
(without types) in function declaration
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1625: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1626: redefinition of `X'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1054: `X' previously defined here
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1626: `low_n' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1627: `SImode' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1627: `low_n' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1627: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1628: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1635: redefinition of `xop1'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1594: `xop1' previously defined
here
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1635: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1635: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1637: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1697: parse error before `||'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1764: parse error before `=='
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1844: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1859: `const_op' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1859: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1859: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1860: `const_op' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1860: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1861: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1981: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1981: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1983: parse error before `offset'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1983: redefinition of `offset'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1333: `offset' previously defined
here
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1983: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1984: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1988: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1988: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1989: redefinition of `index'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1981: `index' previously defined
here
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1989: `temp' undeclared here (not
in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1989: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1990: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1991: conflicting types for
`base_reg_name'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1982: previous declaration of
`base_reg_name'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1991: `reg_names' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1991: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1992: parse error before `switch'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1998: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1999: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2017: parse error before
character constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2017: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2018: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2018: warning: data definition
has no type or storage class

/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2054: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2054: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2055: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2056: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2056: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2079: `mi_delta' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2081: `FUNCTION' undeclared here
(not in a function)
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2082: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2083: parse error before `if'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2098: parse error before string
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2098: warning: data definition
has no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2099: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2102: parse error before
character constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:2102: warning: data definition
has no type or storage class
In file included from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:45:
/src/gcc/gcc-2.95.2/gcc/machmode.h:47: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/machmode.h:138: warning: parameter has incomplete
type
/src/gcc/gcc-2.95.2/gcc/machmode.h:142: warning: parameter has incomplete
type
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1462: storage size of `code'
isn't known
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/tmp/build/gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/tmp/build/gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'


Thank you for the help,
Jason

                               .          
Jason Finnegan              .  o  .  
Firmware Engineer            o O o           
                         . o O   O o .
Agilent Technologies         o O o       
San Diego Design Center     .  o  .        
                               .

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building gcc for arm-pid
  2001-02-06 15:26 Problem building gcc for arm-pid Jason Finnegan
@ 2001-02-06 16:30 ` Alexandre Oliva
  2001-02-06 16:56   ` Jason Finnegan
  0 siblings, 1 reply; 4+ messages in thread
From: Alexandre Oliva @ 2001-02-06 16:30 UTC (permalink / raw)
  To: Jason Finnegan; +Cc: gcc-help

On Feb  6, 2001, Jason Finnegan <jasonf@sds.agilent.com> wrote:

> /src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:226: parse error before `{'

What's there in the few lines around this one?

> /src/gcc/gcc-2.95.2/gcc/machmode.h:47: stray '\' in program

This is very suspect.  Has this GCC source tree ever been on a
MS-Windows machine?  It looks like it's got carriage-returns before
line-feeds.  GCC 2.95.2 wouldn't work well in this case.  It's fixed
in development versions of GCC.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building gcc for arm-pid
  2001-02-06 16:30 ` Alexandre Oliva
@ 2001-02-06 16:56   ` Jason Finnegan
  2001-02-06 17:32     ` Alexandre Oliva
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Finnegan @ 2001-02-06 16:56 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

There does appear to be "\" popping up in the code.  Here is a snippit of
some of the code in that file:

#define TARGET_SWITCHES  				\
{                         				\
  {"apcs",			ARM_FLAG_APCS_FRAME, "" }, \
  {"apcs-frame",		ARM_FLAG_APCS_FRAME, 	\
     "Generate APCS conformant stack frames" },		\
  {"no-apcs-frame",	       -ARM_FLAG_APCS_FRAME, "" }, \
  {"poke-function-name",	ARM_FLAG_POKE, 		\
     "Store function names in object code" },		\
  {"no-poke-function-name",    -ARM_FLAG_POKE, "" },	\


This is the code I was told to download from eCos's Building the ARM
development tools for Windows webpage
at: http://sources.redhat.com/ecos/tools/win-arm-elf.html

Is there a newer or better version of this code that I should get for
Windows?  The two files recommended were: 
GCC 2.95.2 core compiler
distribution (gcc-core-2.95.2.tar.bz2 - 6.6MB) 
GCC 2.95.2 C++ distribution (gcc-g++-2.95.2.tar.bz2 - 1.2MB) 

Thanks for the help,
Jason Finnegan



On 6 Feb 2001, Alexandre Oliva wrote:

> On Feb  6, 2001, Jason Finnegan <jasonf@sds.agilent.com> wrote:
> 
> > /src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:226: parse error before `{'
> 
> What's there in the few lines around this one?
> 
> > /src/gcc/gcc-2.95.2/gcc/machmode.h:47: stray '\' in program
> 
> This is very suspect.  Has this GCC source tree ever been on a
> MS-Windows machine?  It looks like it's got carriage-returns before
> line-feeds.  GCC 2.95.2 wouldn't work well in this case.  It's fixed
> in development versions of GCC.
> 
> -- 
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem building gcc for arm-pid
  2001-02-06 16:56   ` Jason Finnegan
@ 2001-02-06 17:32     ` Alexandre Oliva
  0 siblings, 0 replies; 4+ messages in thread
From: Alexandre Oliva @ 2001-02-06 17:32 UTC (permalink / raw)
  To: Jason Finnegan; +Cc: gcc-help

On Feb  6, 2001, Jason Finnegan <jasonf@sds.agilent.com> wrote:

> There does appear to be "\" popping up in the code.

There is one at the end of each line.  You've probably got stray
carriage-returns before line-feeds.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-02-06 17:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-06 15:26 Problem building gcc for arm-pid Jason Finnegan
2001-02-06 16:30 ` Alexandre Oliva
2001-02-06 16:56   ` Jason Finnegan
2001-02-06 17:32     ` Alexandre Oliva

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).