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 building ecos for arm with thumb instruction set


I believe you have to compile a thumb version of your tools.  eg.
thumb-elf-gcc and not arm-elf-gcc.  Also, you have to be using GCC
greater than 2.95.2.

http://sources.redhat.com/ecos/tools/win-thumb-elf.html
http://sources.redhat.com/ecos/tools/linux-thumb-elf.html

-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Dzanh Nguyen
Sent: Wednesday, August 29, 2001 2:18 PM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Problem building ecos for arm with thumb instruction set


I tried to build the Ecos 1.3.1 with the thumb instruction set by
adding -mthumb in the global compiler flags. It failed to build with the
following messages.

I need help. Thanks!

Dzanh Nguyen

arm-elf-gcc -c  -I//C/Ecos-Work/Arm9_install/include
-I//C/RedHat/eCos/packa
ges/kernel/v1_3_1 -I//C/RedHat/eCos/packages/kernel/v1_3_1/src
-I//C/RedHat/
eCos/packages/kernel/v1_3_1/tests -I.
-I//C/RedHat/eCos/packages/kernel/v1_3
_1/src/debug/ -mcpu=arm9tdmi -mbig-endian -mthumb -Wall -Wpointer-arith
-Wst
rict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
-ffunction-sect
ions -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc
-finit-priority -
Wp,-MD,src/debug/dbg-thread-demux.tmp -o
src/debug/kernel_dbg-thread-demux.o
//C/RedHat/eCos/packages/kernel/v1_3_1/src/debug/dbg-thread-demux.c
arm-elf-gcc -c  -I//C/Ecos-Work/Arm9_install/include
-I//C/RedHat/eCos/packa
ges/kernel/v1_3_1 -I//C/RedHat/eCos/packages/kernel/v1_3_1/src
-I//C/RedHat/
eCos/packages/kernel/v1_3_1/tests -I.
-I//C/RedHat/eCos/packages/kernel/v1_3
_1/src/debug/ -mcpu=arm9tdmi -mbig-endian -mthumb -Wall -Wpointer-arith
-Wst
rict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2
-ffunction-sect
ions -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc
-finit-priority -
Wp,-MD,src/debug/dbg_gdb.tmp -o src/debug/kernel_dbg_gdb.o
//C/RedHat/eCos/packages/kernel/v1_3_1/src/debug/dbg_gdb.cxx
cc1plus.exe: warning: -fvtable-gc is no longer supported
/c/Temp/ccXG4FkT.s: Assembler messages:
/c/Temp/ccXG4FkT.s:411: Error: byte or halfword not valid for base
register
make[1]: *** [src/debug/dbg_gdb.o.d] Error 1
make[1]: Leaving directory `/c/Ecos-Work/Arm9_build/kernel/v1_3_1'
make: *** [build] Error 2

*** Process 828 terminated (rc=2)
*** Killing process 828 (TerminateProcess)


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