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]

Re: Error loading package template 'elix':


Chris Garry wrote:
> 
> $arm-elf-gcc -g -o hello.exe -I/eCosBuild/elix_install/include
> hello.c -L/eCosBuild/elix_install/lib -Ttarget.ld -nostdlib
> /tools/H-i686-pc-cygwin/arm-elf/bin/ld: address 0x9815c of hello.exe section
> .bss is not within region ram
> collect2: ld returned 1 exit status
> make: *** [hello.exe] Error 1
> 
> I tried the same thing but with the AEB-1 as the target and there were no
> errors, so it looks like it is only an E7T
> problem.

This is because the E7T is by default quite memory-constrained.
Unfortunately the default configuration of eCos is a trade-off between
functionality, speed and size; but normally functionality wins. So you may
want to consider reducing the packages in your configuration, for example
by unloading the "net" and "common eth driver" packages (yeah, I know, you
just added them :-)).

Or you could start from the "posix" template, and add packages to that
instead.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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