comp.lang.ada
 help / color / mirror / Atom feed
* Creating really small binaries?
@ 2002-06-18  6:53 Caffeine Junky
  2002-06-18 16:41 ` Stephen Leake
  0 siblings, 1 reply; 8+ messages in thread
From: Caffeine Junky @ 2002-06-18  6:53 UTC (permalink / raw)


I'm looking for tips on how to make my executables really tiny.

More specifically I'm interested in keeping the memory used by the
running executable really small.
I realize that much of it is determined by the compiler being used(GNAT,
Aonix, Green Hills, etc...) and the platform(using Linux 2.4 here). A
small executable on disk would be a nice bonus, but not particularly
important.
Since Ada has shown itself to be excellent for embedded systems, which
normally have much less RAM(if any at all) than the standard PC, I'm sure
that this is not much of a problem.

Now, I dont plan on linking to any shared C libs at first.(except of
course glibc which is usually used by default with GNAT on Linux
systems).

The only problem I forsee is when it comes time to do GUI work, which has
an unfortunate tendency to bloat things. I hope to overcome this by
creating a limited interface directly to XLib.

Of course there are all the standard tools such as -O2 and strip.

Any suggestions on where I should begin?



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

end of thread, other threads:[~2002-06-28 22:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18  6:53 Creating really small binaries? Caffeine Junky
2002-06-18 16:41 ` Stephen Leake
2002-06-18 20:01   ` Caffeine Junky
2002-06-19 15:50     ` Stephen Leake
2002-06-24 19:23   ` Robert C. Leif
2002-06-26  8:08   ` Robert Dewar
2002-06-26 15:09     ` Stephen Leake
2002-06-28 22:34       ` Florian Weimer

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