public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ARM Thumb - not working under Linux either
@ 2001-02-08 11:01 Lewin A.R.W. Edwards
  2001-02-09  9:46 ` Jonathan Larmour
  2001-02-09 10:15 ` Bart Veer
  0 siblings, 2 replies; 7+ messages in thread
From: Lewin A.R.W. Edwards @ 2001-02-08 11:01 UTC (permalink / raw)
  To: ecos-discuss

Today I installed a Red Hat 6.1 system just to see if I could get Thumb 
compiler support. I successfully built binutils 2.10 and gdb 5.0 and gcc 
(CVS snapshot from last week), all configured for arm-elf.

The problem is that now when I try to build eCos (1.3.1) I get the 
following error:

arm-elf-gcc -c -I/ARMDigi/ecos/install/include 
-I/opt/ecos/ecos-1.3.1/packages/kernel/v1_3_1 
-I/opt/ecos/ecos-1.3.1/packages/kernel/v1_3_1/src 
-I/opt/ecos/ecos-1.3.1/packages/kernel/v1_3_1/tests -I. 
-I/opt/ecos/ecos-1.3.1/packages/kernel/v1_3_1/src/debug/ -mcpu=arm7tdmi 
-Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef 
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti 
-fno-exceptions -fvtable-gc -finit-priority -mthumb 
-Wp,-MD,src/debug/dbg_gdb.tmp -o src/debug/kernel_dbg_gdb.o 
/opt/ecos/ecos-1.3.1/packages/kernel/v1_3_1/src/debug/dbg_gdb.cxx
/tmp/ccSGafJS.s: Assembler messages:
/tmp/ccSGafJS.s:544: Error: byte or halfword not valid for base register
make[1]: *** [src/debug/dbg_gdb.o.d] Error 1
make[1]: Leaving directory '/ARMDigi/ecos/kernel/v1_3_1'
make: *** [build] Error 2

This is weird. Any suggestions? Can't be my OS this time. I am guessing 
that the arm-elf binutils can't work with thumb instructions, but I can't 
be sure of course.

Also, "ecosconfig new edb7xxx" creates a very empty kind of file. I was 
looking for the place to enable CYGHWR_THUMB, and I couldn't find it, 
because it's not in there. I had to copy the Windows-generated ecc across 
and modify it appropriately.
=== 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."

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

end of thread, other threads:[~2001-02-10 18:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-08 11:01 [ECOS] ARM Thumb - not working under Linux either Lewin A.R.W. Edwards
2001-02-09  9:46 ` Jonathan Larmour
2001-02-09 12:47   ` Lewin A.R.W. Edwards
2001-02-09 13:48     ` Jonathan Larmour
2001-02-10 18:43       ` Lewin A.R.W. Edwards
2001-02-09 10:15 ` Bart Veer
2001-02-09 12:55   ` Lewin A.R.W. Edwards

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).