[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Eliminating static binaries (Was: Unwanted RPM dependencies)

Chris Adams wrote:

$ ls -l x-dyn x-stat
-rwxr-xr-x 1 cmadams users   2816 Jun  6 08:38 x-dyn
-rwxr-xr-x 1 cmadams users 459492 Jun  6 08:38 x-stat

It's probably time to switch OSes when a NOP program can't
be made smaller than this and most developers don't even
think we have a problem...  Linux has become fat and slow
over the years.

I don't forsee a static executable being smaller than a dynamic
executable in the real world.  It is possible that somebody could
hand-build (e.g. no gcc, ld, etc.) such an executable, but that doesn't
really count (since that isn't done in the real world).

Somebody actually *could* make small static binaries:


(for the lazy, the binary is just 45 bytes and even *does*
something useful ;-)

  // Bernardo Innocenti
\X/  http://www.codewiz.org/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]