lkml.org 
[lkml]   [2007]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [Announce] Linux-tiny project revival
    From
    Date
    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?
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2007-09-21 19:19    [W:6.266 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site