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]

Re: Problem downloading eCos


Hi Jonathan,

> > I'm just updating my gcc sources to the latest right now, then I will
>
>arm-elf is certainly what I used, and I invoked arm-elf-gcc with -mthumb. I

Silly, silly, silly, stupid, forgetful me. I forgot that current versions 
of gcc are broken in cygwin. 2.95.2 is the last version that seems to build 
properly. Here's the output from the current sources.

So it isn't possible to develop for thumb inside cygwin, unless you're 
writing in 100% assembler.

gcc -DCROSS_COMPILE -DIN_GCC    -g -O2 -W -Wall -Wwrite-strings 
-Wstrict-prototy
pes -Wmissing-prototypes -Wtraditional -pedantic 
-Wno-long-long  -DHAVE_CONFIG_H
  -DGENERATOR_FILE  -o gencodes.exe \
  gencodes.o rtl.o bitmap.o ggc-none.o gensupport.o hashtab.o safe-ctype.o 
print-
rtl.o errors.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "" 
in ?
*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*) 
echo  ;; es
ac ` -ladvapi32
./gencodes.exe /src/gcc/gcc/config/arm/arm.md > tmp-codes.h
'src/gcc/gcc/config/arm/arm.md:36: unknown rtx code `define_constants
/src/gcc/gcc/config/arm/arm.md:36: following context is 
`  [(IP_REGNUM      12);
  Scratch register'
make[1]: *** [s-codes] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

administrator@LARWEP3 /tmp/build/gcc
$
=== Lewin A.R.W. Edwards (Embedded Engineer)
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

"Und setzet ihr nicht das Leben ein,
Nie wird euch das Leben gewonnen sein."


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