[ECOS] code size

Jonathan Larmour jlarmour@redhat.com
Wed Jan 31 22:11:00 GMT 2001

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.

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

More information about the Ecos-discuss mailing list