[ECOS] Re: context.S problem

Jonathan Larmour jifl@eCosCentric.com
Sun Sep 10 20:54:00 GMT 2006


Wendell Liu wrote:
>  
> Hello, Andrew and other eCos experts,
> 
> I just started using eCos with SH4 for my next project, and I try to build
> eCos image. On my machine, I always encountered the following errors:
> 
> sh-elf-gcc -c -I/... src/hal_sh_arch_context.o
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S
> 
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> Assembler messages:
> /cygdrive/c/cygwin/opt/ecos/ecos/packages/hal/sh/arch/current/src/context.S:
> 257:
> Error: Cannot represent relocation type BFD_RELOC_SH_IMM4BY4

I don't see the correct compiler flags there. How are you trying to build 
eCos? Have you read the user manual?

Jifl
-- 
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
------["The best things in life aren't things."]------      Opinions==mine

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



More information about the Ecos-discuss mailing list