[ECOS] R: [ECOS] Problem compiling redboot for XScale

Pascal Pediroda @ Brime pascal.pediroda@brime.it
Wed Mar 26 16:31:00 GMT 2003


Thank you for your answer Jifl,
I do have the /ecos-c/BootRosso/Bootrosso_install/include/cyg/hal/hal_arch.h
file.




-----Messaggio originale-----
Da: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Inviato: mercoledi 26 marzo 2003 17.18
A: pascal.pediroda@brime.it
Cc: ecos-discuss@sources.redhat.com
Oggetto: Re: [ECOS] Problem compiling redboot for XScale


Pascal Pediroda @ Brime wrote:
> Hello,
> I try to make a redboot image for the IQ80321 board.
> So this is what I have done :
> -Installed cygwin on my W2000 PC (under C:\cygwin)
> -Installed eCos Configuration Tool v2.11
> -Downloaded and compiled the GNU sources for arm-elf target (gcc-3.2.2,
> gdb5.3)
> -Checked out from CVS (yesterday) the last ecos sources
>
> Know, from eCos CT, I have created a project (BootRosso.ecc) using the
> template option (HW = IQ80321 , template = redboot) and then I have
> launched the Build.
> Here is the end of the log file from the make (the part that fails !) :
>
> make -r -C hal/arm/arch/current arm.inc
> make[1]: Entering directory
> `/ecos-c/BootRosso/Bootrosso_build/hal/arm/arch/current'
>
arm-elf-gcc -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline
> -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -f
no
> -rtti -fno-exceptions -fvtable-gc -finit-priority -mapcs-frame  -I/ecos-c/
Bo
>
otRosso/Bootrosso_install/include -I/ecos-c/cygwin/src/ecos/packages/hal/arm
>
/arch/current -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src -I
>
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.
> tmp -o hal_mk_defs.tmp -S
> /ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
>
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:57:5
> 4: cyg/hal/hal_arch.h: No such file or directory

This looks seriously broken, but there's no reason why it should be. Does
the header install directory ( /ecos-c/BootRosso/Bootrosso_install/include
) really not include cyg/hal/hal_arch.h?

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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



More information about the Ecos-discuss mailing list