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]

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]