[ECOS] Sample application build

Jesper Skov jskov@redhat.com
Fri Mar 8 01:51:00 GMT 2002


On Tue, 2002-03-05 at 17:43, Bennett Keller wrote:
> Hello, 
> 
> I am trying to compile the 'hello.c' sample application to run on a PID
> board with ARM7 processor.
> I am using Win2000 to run the configuration tool, and Cygwin with gcc to
> compile the application
> against the build. If I use version 1.3.net of the config tool to build the
> 'all' template for the 'ARM 
> development board (PID)', using the repository I checked out via the FTP
> site on Feb 28, I get
> the following error:
> 
> $ arm-elf-gcc -g -I//d/builds/pid28_all_install/include hello.c
> -L//d/builds/pid28_all_install/lib -Ttarget.ld -nostdlib
> /d/tools/H-i686-pc-cygwin//arm-elf/bin/ld: address 0x903ac of a.out section
> .bss is not within region ram
> collect2: ld returned 1 exit status
> 
> If I use instead version 1.3.1 of the config tool and repository to build
> the 'all' template for the same 
> target I do not get the error. Can anyone give me a hand as to resolving
> this error with the newest
> code? Thanks in advance.

The "error" is that the resulting image is too big for the board. eCos
size has gone up, it appears. Try to generate a linker map (-M to ld,
IIRC) and compare the two. Maybe you can find the cause, and disable
some packages to get the size down.

Jesper


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