This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Application size on i386
- To: Cristiano Ligieri Pereira <cpereira at ics dot uci dot edu>
- Subject: Re: [ECOS] Application size on i386
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 13 Mar 2001 20:08:41 +0000
- Cc: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <Pine.SOL.4.20.0103052041210.10387-100000@washoe.ics.uci.edu>
Cristiano Ligieri Pereira wrote:
>
> I'm having a simple problem with an application running on i386. The
> hello.c or twothreads.c examples are working fine on my PC. I'm booting
> both using floppy disk, or in other words, without using serial connection
> and gdb.
>
> However when I link these applications with a library I'm trying to use,
> which is 211015 bytes long, and try to execute both applications they
> don't work fine. Basically they reboot the machine.
>
> The final file sizes are 189792 bytes (hello.bin) and 190464 bytes
> (twothreads.bin). I'm wondering whether those files are too big since I'm
> not doing any call to the library I'm linking those applications to (I'm
> just linking them). If that is the reason, how can I get rid of it?
I believe there was a 64K limit when booting off a floppy in eCos 1.3.1, so
make sure you are using anonymous CVS.
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