This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: code size
- To: Suet Fei Li <suetfei at bwrc dot eecs dot berkeley dot edu>,eCos discussion <ecos-discuss at sources dot redhat dot com>
- Subject: Re: [ECOS] code size
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 01 Feb 2001 06:11:03 +0000
- Organization: Red Hat UK Ltd.
- References: <711F6B80B5B4D211BA900090272AB7649DB52B@noyce.eecs.berkeley.edu>
Suet Fei Li wrote:
>
> Thanx a lot!
> there are lots of diag_... hal_diag stuff that I do not need. Is there a way
> to get rid of them.
>
> P.S. my code is 23K now.
Generate a linker map by using the the option on the link line:
"-Wl,-Map,foo" where foo is the name of the map file. This will tell you
exactly why each symbol is pulled in.
If you are not using any diag output stuff at all you could also probably
disable CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT. Let the list know if you have
any problems.
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