Re: Why is GNU/Linux so Bloated?

2009-06-25 Thread Shlomi Fish
On Thursday 25 June 2009 16:52:11 Baruch Siach wrote: > Hi Shlomi, > > On Thu, Jun 25, 2009 at 04:20:00PM +0300, Shlomi Fish wrote: > > Replying to myself, I'd like to note that I recently fixed some build > > problems in the Freecell Solver distribution, and after I was through, > > MSVC now gener

Re: Why is GNU/Linux so Bloated?

2009-06-25 Thread Baruch Siach
Hi Shlomi, On Thu, Jun 25, 2009 at 04:20:00PM +0300, Shlomi Fish wrote: > Replying to myself, I'd like to note that I recently fixed some build > problems in the Freecell Solver distribution, and after I was through, MSVC > now generates a larger .dll file, comparable in size to the gcc -Os one -

Re: Why is GNU/Linux so Bloated?

2009-06-25 Thread Shlomi Fish
Hi all! On Thursday 11 June 2009 16:59:32 Shlomi Fish wrote: > Hi all! > > Based on the gcc-4.4.0 (with -Os) / x86-Linux shared library sizes here: > > http://tech.groups.yahoo.com/group/fc-solve-discuss/message/998 > > And the Visual C++/Win32 (also x86) .dll sizes here: > > http://tech.groups.ya

Re: Why is GNU/Linux so Bloated?

2009-06-21 Thread Shlomi Fish
On Thursday 11 June 2009 16:59:32 Shlomi Fish wrote: > Hi all! > > Based on the gcc-4.4.0 (with -Os) / x86-Linux shared library sizes here: > > http://tech.groups.yahoo.com/group/fc-solve-discuss/message/998 > > And the Visual C++/Win32 (also x86) .dll sizes here: > > http://tech.groups.yahoo.com/g

Re: Why is GNU/Linux so Bloated?

2009-06-14 Thread Shlomi Fish
On Sunday 14 June 2009 16:33:17 Nadav Har'El wrote: > On Thu, Jun 11, 2009, Shlomi Fish wrote about "Re: Why is GNU/Linux so Bloated?": > > I've compared the size of the Linux .so file (after -Os and strip) to the > > size of the Windows MSVC-generated .dll

Re: Why is GNU/Linux so Bloated?

2009-06-14 Thread Nadav Har'El
On Thu, Jun 11, 2009, Shlomi Fish wrote about "Re: Why is GNU/Linux so Bloated?": > I've compared the size of the Linux .so file (after -Os and strip) to the > size > of the Windows MSVC-generated .dll. > > With gcc -Os before strip - 86,464 bytes > same after

Re: Why is GNU/Linux so Bloated?

2009-06-12 Thread Shachar Shemesh
Oleg Goldshmidt wrote: Shachar Shemesh writes: I'm not sure whether base addresses are allocated randomly or something else is at work here, but collisions are not that common. You can manually rebase a DLL at post-link time, and I think that DLLs shipped by commercial vendors (such

Re: Why is GNU/Linux so Bloated?

2009-06-12 Thread Shlomi Fish
On Friday 12 June 2009 00:13:45 Ori Berger wrote: > Shlomi Fish wrote: > > I've compared the size of the Linux .so file (after -Os and strip) to the > > size of the Windows MSVC-generated .dll. > > > > With gcc -Os before strip - 86,464 bytes > > same after strip - 74,584 > > > > With gcc -Os that

Re: Why is GNU/Linux so Bloated?

2009-06-12 Thread Tzafrir Cohen
On Fri, Jun 12, 2009 at 10:21:56AM +0300, Oleg Goldshmidt wrote: > Shachar Shemesh writes: > > > I'm not sure whether base addresses are allocated randomly or > > something else is at work here, but collisions are not that common. > > You can manually rebase a DLL at post-link time, On Linux y

Re: Why is GNU/Linux so Bloated?

2009-06-12 Thread Oleg Goldshmidt
Shachar Shemesh writes: > I'm not sure whether base addresses are allocated randomly or > something else is at work here, but collisions are not that common. You can manually rebase a DLL at post-link time, and I think that DLLs shipped by commercial vendors (such as MS :) have precomputed base

Re: Why is GNU/Linux so Bloated?

2009-06-11 Thread Shachar Shemesh
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 overl

Re: Why is GNU/Linux so Bloated?

2009-06-11 Thread Ori Berger
Shlomi Fish wrote: I've compared the size of the Linux .so file (after -Os and strip) to the size of the Windows MSVC-generated .dll. With gcc -Os before strip - 86,464 bytes same after strip - 74,584 With gcc -Os that can solve Freecell only - before strip: 71,440 After strip - 60,312 Now

Re: Why is GNU/Linux so Bloated?

2009-06-11 Thread Shlomi Fish
On Thursday 11 June 2009 22:22:13 Oleg Goldshmidt wrote: > Shlomi Fish writes: > > Hi all! > > > > Based on the gcc-4.4.0 (with -Os) / x86-Linux shared library sizes > > here: > > > > http://tech.groups.yahoo.com/group/fc-solve-discuss/message/998 > > > > And the Visual C++/Win32 (also x86) .dll s

Re: Why is GNU/Linux so Bloated?

2009-06-11 Thread Oleg Goldshmidt
Shlomi Fish writes: > Hi all! > > Based on the gcc-4.4.0 (with -Os) / x86-Linux shared library sizes > here: > > http://tech.groups.yahoo.com/group/fc-solve-discuss/message/998 > > And the Visual C++/Win32 (also x86) .dll sizes here: > > http://tech.groups.yahoo.com/group/fc-solve-discuss/message

Why is GNU/Linux so Bloated?

2009-06-11 Thread Shlomi Fish
Hi all! Based on the gcc-4.4.0 (with -Os) / x86-Linux shared library sizes here: http://tech.groups.yahoo.com/group/fc-solve-discuss/message/998 And the Visual C++/Win32 (also x86) .dll sizes here: http://tech.groups.yahoo.com/group/fc-solve-discuss/message/999 My question is: why are the Visu