[ECOS] Huge memory footprint for a simple "hello world"
Wed Jun 7 10:28:00 GMT 2006
Thank you for all that info you provided me with.
The first 3 steps are fine but "make -s tests" fails:
:~/work/atmel/060606$ make -s tests
In function `bist':
definition of `cyg_start'
first defined here
Warning: size of symbol `cyg_start' changed from 12 to 728 in
collect2: ld returned 1 exit status
make: *** [/home/socrates/work/atmel/060606/install/tests/hal/common/v2_0/tests/context]
make: *** [tests] Error 2
On 6/7/06, Andrew Lunn <firstname.lastname@example.org> wrote:
> On Wed, Jun 07, 2006 at 11:40:54AM +0200, Socrates Socrates wrote:
> > Hi Andrew,
> > Since I have successfully built redboot and uploaded it onto the
> > board. What steps do I need to get a simple hellow world app running?
> > I was/am of the impression that from the directory where I built
> > redboot, the only file I need was the target.ld file? Am I correct?
> You first need to build eCos for real applications.
> ecosconfig new eb55
> ecosconfig tree
> make -s
> What ends up in the install directory is what you need for building
> applications. You will find all the include files the application
> needs, the library containing eCos, the linker file etc.
> You can also build the eCos tests
> make -s tests
> They will then be placed into the install/tests directory tree. The
> following page shows you have you can download the test and run it.
> Once you have that working try an hello world:
> You download and run this in the same way.
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