Re: [Announce] Linux-tiny project revival

Valdis.Kletnieks
2007-09-21T17:17:04Z

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

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 #2: Type: application/pgp-signature, Size: 226 bytes --]