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]

GCC Build error


Hi All

For some unknown reason to myself I can't seem to build the gcc cross
compiler for ecos. I keep getting the error as below, can someone please
point me in the right direction, I have gone through the build of the
binutils and gcc 3 times now with no difference. I need a pointer in the
right direction please.

Thanks
Vaughan

  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:227: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:418: parse error before `{'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:591: parse error before `if'




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