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]
Other format: [Raw text]

Problem in building ecos for Arm PID target


Hi all..

		I want to build the ecos for ARM PID over my linux
pc.
for that I have changed the native tools like
gcc,gdb,ld,ar,& objcopy
to arm-elf-gcc,arm-elf-gdb and so no.
	Then taking target as --
		% ecosconfig new pid
		% ecosconfig tree
		% make
 During the compilation its gave the error in the file
/packages/hal/arm/arch/current/src/hal_mk_defs.c

 cc1: bad value (arm7tdmi) for -mcpu= switch

The few last lines of compilation process are..
.
.
make[1]: Leaving directory
`/home/umesh/ecos-work-arm/error/current'
headers finished
make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory
`/home/umesh/ecos-work-arm/hal/arm/arch/current'
arm-elf-gcc -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 
-I/home/umesh/ecos-work-arm/install/include
-I/home/umesh/ecoscvs/packages/hal/arm/arch/current
-I/home/umesh/ecoscvs/packages/hal/arm/arch/current/src
-I/home/umesh/ecoscvs/packages/hal/arm/arch/current/tests
-I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
/home/umesh/ecoscvs/packages/hal/arm/arch/current/src/hal_mk_defs.c
cc1: bad value (arm7tdmi) for -mcpu= switch
make[1]: *** [arm.inc] Error 1
make[1]: Leaving directory
`/home/umesh/ecos-work-arm/hal/arm/arch/current'
make: *** [build] Error 2
[root@umesh ecos-work-arm]# 

I have gone through the file hal_mk_defs.c ,but enable
to find out the error.

Please help me for this  error.

Like i386 pc image,can not I make the ecos image for
Arm pid on my linux machine.

Regards!!

umesh Jaiswal, 
enSys

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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