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]

Re: Error building eCos with ARM


changed in makefile
arm.inc: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/hal_mk_defs.c)
 $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S $<
 fgrep .equ hal_mk_defs.tmp | sed s/#// > $@
 echo $@ ": \\" > $(notdir $@).deps
 tail +2 arm.tmp >> $(notdir $@).deps
 echo >> $(notdir $@).deps
 rm arm.tmp hal_mk_defs.tmp

But very sorry, no change in output

arm-elf-gcc -mcpu=arm7tdmi -Wall -Wpointer-arith -Wstrict-prototypes -Winlin
e -W
undef -Woverloaded-virtual -g -O2 -fno-schedule-insns -ffunction-sections -f
data
-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority  -I/ecos-c/P
ROGR
A~1/REDHAT~1/ECOSCO~1/arm1234_install/include -I/ecos-c/cygwin/home/nyeung/e
cos2
/ecos/packages/hal/arm/arch/current -I/ecos-c/cygwin/home/nyeung/ecos2/ecos/
pack
ages/hal/arm/arch/current/src -I/ecos-c/cygwin/home/nyeung/ecos2/ecos/packag
es/h
al/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o hal_mk_defs.tmp -S
/ecos-c/cygw
in/home/nyeung/ecos2/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
make[1]: *** [arm.inc] Error 1
make[1]: Leaving directory
`/ecos-c/PROGRA~1/REDHAT~1/ECOSCO~1/arm1234_build/hal
/arm/arch/current'
make: *** [build] Error 2


----- Original Message -----
From: "Gary D. Thomas" <gary.thomas@mind.be>
To: "nyeung" <norman_yeung@hotmail.com>
Cc: "eCos discuss" <ecos-discuss@sources.redhat.com>
Sent: Thursday, February 06, 2003 8:24 AM
Subject: Re: [ECOS] Error building eCos with ARM


> On Thu, 2003-02-06 at 09:12, nyeung wrote:
> > Hi, Jonathan,
> > Thank you for your suggestions.
> > The first method you said failed, no additional info on thast one
> >
> > Here is the screen capture of doing that line by hand with -v   Is this
what
> > you are looking for.
>
> Not much more useful information here.
>
> Try modifying "hal/arm/arch/current/makefile" in your build tree.
> Change these lines:
>  arm.inc: $(wildcard $(REPOSITORY)/$(PACKAGE)/src/hal_mk_defs.c)
>         $(CC) $(CFLAGS) $(INCLUDE_PATH) -Wp,-MD,arm.tmp -o
hal_mk_defs.tmp -S $<
>         fgrep .equ hal_mk_defs.tmp | sed s/#// > $@
>         @echo $@ ": \\" > $(notdir $@).deps
>         @tail +2 arm.tmp >> $(notdir $@).deps
>         @echo >> $(notdir $@).deps
>         @rm arm.tmp hal_mk_defs.tmp
>
> Take out the '@' at the start of each line.  Then run the "make" and
> see what comes out.
>
> --
> .--------------------------------------------------------.
> |       Mind: Embedded Linux and eCos Development        |
> |--------------------------------------------------------|
> | Gary Thomas              email:  gary.thomas@mind.be   |
> | Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
> | gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
> '--------------------------------------------------------'
>


-- 
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]