This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Remove all debug facilities
- To: Tom Vandeplas <tom dot vandeplas at 4g-radio dot com>
- Subject: Re: [ECOS] Remove all debug facilities
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Thu, 05 Jul 2001 16:45:31 +0100
- Cc: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <NBEOLLLNGJIDDDCAHFAGOEKDCAAA.tom.vandeplas@4g-radio.com>
Tom Vandeplas wrote:
>
> Hi all,
>
> I just finished my application, now I would like to compile it for real.
> So I was wondering what would be the easiest way to remove all debug
> facilities (diagnostic port, GDB stubs etc.) from the kernel.
Whatever you don't use won't be included. You can generate a linker map
with -Wl,-Map,filename to find out what's being pulled in and why.
GDB stubs should be easy to leave out - that's part of the configuration.
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
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/