Why is GNU/Linux so Bloated?
Shachar Shemesh
shachar at shemesh.biz
Fri Jun 12 00:14:19 IDT 2009
Oleg Goldshmidt wrote:
>
> If a process
> is linked against several libraries all but one need to be
> relocated to other free addresses,
No, this statement is very far from the truth. I have worked quite a lot
with DLLs, and very rarely saw the linker message saying that two DLLs
require overlapping base addresses. I'm not sure whether base addresses
are allocated randomly or something else is at work here, but collisions
are not that common.
What you did neglect to count, however, is the size of the runtime library.
Also, there may be differences in the executable size that do not
translate to final in memory size, and it's not clear which -Os is
trying to minimize.
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cs.huji.ac.il/pipermail/linux-il/attachments/20090612/37b559c0/attachment.html>
More information about the Linux-il
mailing list