Re: [Announce] Linux-tiny project revival

From: Valdis . Kletnieks
Date: Fri Sep 21 2007 - 13:17:05 EST


On Thu, 20 Sep 2007 18:18:41 CDT, Rob Landley said:

> Worse, if you feed an absolute path to O= when you build the kernel out of
> tree, then it uses absolute paths for all the __FILE__ strings and that makes
> kernel BIIIIIG. (Did that by accident a while back.) Too bad there's no way
> to keep the __FILE__ strings compressed at runtime and gunzip them as needed
> like busybox does with help messages... :)

What about something *really* hardcore ugly like:

#ifdef __FILE__
#undef __FILE__
#define __FILE__ ""
#endif

(or similar preprocessor blecherousness) if you want to *really* shrink
that binary down?

Attachment: pgp00000.pgp
Description: PGP signature