comp.lang.ada
 help / color / mirror / Atom feed
From: gautier_niouzes@hotmail.com (Gautier)
Subject: Re: It's been a while...
Date: 30 May 2003 02:27:47 -0700
Date: 2003-05-30T09:27:47+00:00	[thread overview]
Message-ID: <17cd177c.0305300127.690eaadf@posting.google.com> (raw)
In-Reply-To: pan.2003.05.29.21.18.46.518854@__n_o_s_p_a_m__abyss2.demon.co.uk______

Luke A. Guest:

> I learned Ada at University around 1995 and I've been interested in
> getting back into it. Now, I have a simple "hello" app and it is huge.
> Now, I don't want to have a load of people telling me not to judge Ada on
> the size, but I really want to know how to get the app size down. The app
> is:
> 
> -rwxr-xr-x    1 laguest  users      200492 2003-05-29 22:16 hello
> 
> This is an example program from the sources, compiled with:
> 
> 	gnatmake -O3
...
> Now, surely the app doesn't need this info and it must be taking up a lot
> of space. Do I need to go into the linker scripts to strip this info out?

This is a feature of GNAT, not of all Ada compilers: no smart linking.
- at least afaik, and on 30-May-2003. The issue is as old as GNAT...
  http://groups.google.com/groups?q=smart+linking+gnat
Probabily the big executable size is harmless and doesn't hurt performance
(only used parts being loaded), but this is to be proven...
________________________________________________________
Gautier  --  http://www.mysunrise.ch/users/gdm/gsoft.htm

NB: For a direct answer, e-mail address on the Web site!



  parent reply	other threads:[~2003-05-30  9:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-29 21:18 It's been a while Luke A. Guest
2003-05-29 21:27 ` Martin Dowie
2003-05-29 22:19   ` Luke A. Guest
2003-05-30  7:43     ` Martin Dowie
2003-05-29 22:22   ` Luke A. Guest
2003-05-30  2:13 ` Steve
2003-05-30  2:54   ` Wesley Groleau
2003-05-30  4:52 ` Re; " tmoran
2003-05-30 10:04   ` Georg Bauhaus
2003-05-30  9:03 ` Preben Randhol
2003-05-30  9:27 ` Gautier [this message]
2003-05-30 19:45 ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox