This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

AW: ARM 2.95.2 gcc compile issues


Hello,

if you work on a win platform than the problem may be a parser problem. Take
a look if all paths are mounted to binary and also the TEMP, TMP, TMPDIR
environment paths are mounted to binary. 

Good luck
Hansjörg

-----Ursprüngliche Nachricht-----
Von: tim@cygnetinc.com [mailto:tim@cygnetinc.com]
Gesendet: Freitag, 16. März 2001 15:47
Cc: ecos-discuss@sources.redhat.com
Betreff: [ECOS] ARM 2.95.2 gcc compile issues


All,

I have compile gcc 2.95.2 for mips, now I'm trying to do the same with the
ARM.  Binutils 2.10.1, I'm following the instructions for the arm-elf.  So
what I'm doing wrong?  Also have lastest cygwin tools.

Here is the error, attached is the configure.out and make.out

_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'

tim@TM1552020101 /tmp/build/gcc
$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]