public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] ecos size
@ 2001-08-08  4:48 Christoph Obermair
  2001-08-08  5:04 ` Sebastien ANDRE
  2001-08-08  5:16 ` [ECOS] ecos size Jesper Skov
  0 siblings, 2 replies; 6+ messages in thread
From: Christoph Obermair @ 2001-08-08  4:48 UTC (permalink / raw)
  To: ecos-discuss

hi everybody, 

what do i have to do, to get ecos smaller?
i built a library for the e7t target, only using the following packages:

  CYGPKG_HAL_ARM
  CYGPKG_HAL_ARM_E7T
  CYGPGK_HAL
  CYGPKG_KERNEL
  CYGPKG_MEMALLOC
  CYGPKG_ISOINFRA
  CYGPKG_INFRA

when compiling a kernel with a very simple c program the file a.out has a size of 380k, which is much too big i think.
what am i doing wrong?

christoph
-- 

_______________________________________________
Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ecos size
  2001-08-08  4:48 [ECOS] ecos size Christoph Obermair
@ 2001-08-08  5:04 ` Sebastien ANDRE
  2001-08-09  4:53   ` [ECOS] a.out size Sunil Mohan Savanur
  2001-08-08  5:16 ` [ECOS] ecos size Jesper Skov
  1 sibling, 1 reply; 6+ messages in thread
From: Sebastien ANDRE @ 2001-08-08  5:04 UTC (permalink / raw)
  To: egcs; +Cc: ecos-discuss

Hi,

Maybe it's because many debug informations are presents in the ELF  file!!

Try an "arm-elf-strip a.out"  for suppress it and see the real size !!
or an "arm-elf-size a.out"

Sebastien.



Christoph Obermair wrote:

> hi everybody,
>
> what do i have to do, to get ecos smaller?
> i built a library for the e7t target, only using the following packages:
>
>   CYGPKG_HAL_ARM
>   CYGPKG_HAL_ARM_E7T
>   CYGPGK_HAL
>   CYGPKG_KERNEL
>   CYGPKG_MEMALLOC
>   CYGPKG_ISOINFRA
>   CYGPKG_INFRA
>
> when compiling a kernel with a very simple c program the file a.out has a size of 380k, which is much too big i think.
> what am i doing wrong?
>
> christoph
> --
>
> _______________________________________________
> Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free!
> http://www.net2phone.com/cgi-bin/link.cgi?143

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] ecos size
  2001-08-08  4:48 [ECOS] ecos size Christoph Obermair
  2001-08-08  5:04 ` Sebastien ANDRE
@ 2001-08-08  5:16 ` Jesper Skov
  1 sibling, 0 replies; 6+ messages in thread
From: Jesper Skov @ 2001-08-08  5:16 UTC (permalink / raw)
  To: Christoph Obermair; +Cc: ecos-discuss

>>>>> "Christoph" == Christoph Obermair <christoph.obermair@writeme.com> writes:

Christoph> hi everybody, what do i have to do, to get ecos smaller?  i
Christoph> built a library for the e7t target, only using the
Christoph> following packages:

Christoph>   CYGPKG_HAL_ARM CYGPKG_HAL_ARM_E7T CYGPGK_HAL
Christoph> CYGPKG_KERNEL CYGPKG_MEMALLOC CYGPKG_ISOINFRA CYGPKG_INFRA

Christoph> when compiling a kernel with a very simple c program the
Christoph> file a.out has a size of 380k, which is much too big i
Christoph> think.  what am i doing wrong?

Use arm-elf-size on the file.

Jesper

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [ECOS] a.out size
  2001-08-08  5:04 ` Sebastien ANDRE
@ 2001-08-09  4:53   ` Sunil Mohan Savanur
  2001-08-09  5:05     ` Sebastien ANDRE
  0 siblings, 1 reply; 6+ messages in thread
From: Sunil Mohan Savanur @ 2001-08-09  4:53 UTC (permalink / raw)
  To: ecos-discuss

Hello All,

I have a simple helloworld.c program
compiles using eCos under Linux (i386).
Ecos is 1.3.1 with standard
configuration.
Compiler is /usr/bin/gcc.
Linux version 6.2

The size of a.out is 567K.
Is there any way to reduce this size ?

Sunil

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] a.out size
  2001-08-09  4:53   ` [ECOS] a.out size Sunil Mohan Savanur
@ 2001-08-09  5:05     ` Sebastien ANDRE
  2001-08-09  5:51       ` Jesper Skov
  0 siblings, 1 reply; 6+ messages in thread
From: Sebastien ANDRE @ 2001-08-09  5:05 UTC (permalink / raw)
  To: egcs; +Cc: ecos-discuss

Hello,

For reduce his size use STRIP programm for suppress all informations debug !!

for an arm platform the name likes "arm-elf-strip"

Sunil Mohan Savanur wrote:

> Hello All,
>
> I have a simple helloworld.c program
> compiles using eCos under Linux (i386).
> Ecos is 1.3.1 with standard
> configuration.
> Compiler is /usr/bin/gcc.
> Linux version 6.2
>
> The size of a.out is 567K.
> Is there any way to reduce this size ?
>
> Sunil
>
>   ------------------------------------------------------------------------
>                                Name: InterScan_Disclaimer.txt
>    InterScan_Disclaimer.txt    Type: Plain Text (text/plain)
>                            Encoding: 7bit

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ECOS] a.out size
  2001-08-09  5:05     ` Sebastien ANDRE
@ 2001-08-09  5:51       ` Jesper Skov
  0 siblings, 0 replies; 6+ messages in thread
From: Jesper Skov @ 2001-08-09  5:51 UTC (permalink / raw)
  To: Sebastien ANDRE; +Cc: ecos-discuss

>>>>> "Sebastien" == Sebastien ANDRE <sebastien.andre@sxb.bsf.alcatel.fr> writes:

Sebastien> Hello, For reduce his size use STRIP programm for suppress
Sebastien> all informations debug !!

Sebastien> for an arm platform the name likes "arm-elf-strip"

That's not quite the way. Instead use arm-elf-size to see the actual
size of the executable. Strip only removes some debug info - it does
not take away the ELF metadata.

Jesper

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-09  5:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-08  4:48 [ECOS] ecos size Christoph Obermair
2001-08-08  5:04 ` Sebastien ANDRE
2001-08-09  4:53   ` [ECOS] a.out size Sunil Mohan Savanur
2001-08-09  5:05     ` Sebastien ANDRE
2001-08-09  5:51       ` Jesper Skov
2001-08-08  5:16 ` [ECOS] ecos size Jesper Skov

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).