public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: Suet Fei Li <suetfei@bwrc.eecs.berkeley.edu>,
	eCos discussion <ecos-discuss@sources.redhat.com>
Subject: Re: [ECOS] code size
Date: Wed, 31 Jan 2001 22:11:00 -0000	[thread overview]
Message-ID: <3A78FDF7.31F08831@redhat.com> (raw)
In-Reply-To: <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

       reply	other threads:[~2001-01-31 22:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <711F6B80B5B4D211BA900090272AB7649DB52B@noyce.eecs.berkeley.edu>
2001-01-31 22:11 ` Jonathan Larmour [this message]
2001-02-01  2:01   ` Jesper Skov
2001-01-31 20:51 Suet Fei Li
2001-01-31 21:36 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3A78FDF7.31F08831@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=suetfei@bwrc.eecs.berkeley.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).