From: Duncan C. <dun...@wo...> - 2005-03-02 04:05:35
|
On Tue, 2005-03-01 at 19:51 -0800, John Velman wrote: > On Tue, Mar 01, 2005 at 08:13:42PM +0000, Duncan Coutts wrote: > > On Tue, 2005-03-01 at 11:37 -0800, John Velman wrote: > > > It's certainly not urgent, but I'm curious as to why I get bigger > > > executables than you. Here's the same sequence of commands from my > > > computer: > > > > > > bash-2.05b$ ls -l helloworld > > > -rwxr-xr-x 1 jr users 7322034 Feb 28 14:12 helloworld > > > bash-2.05b$ strip helloworld > > > bash-2.05b$ ls -l helloworld > > > -rwxr-xr-x 1 jr users 3999244 Mar 1 11:34 helloworld > > > > It varies between platforms too. On my x86 32bit machine I get about 7Mb > > and 4.5Mb after strip, the same as you. On my sparc machine it goes from > > about 13Mb to about 7Mb. > > > > What platform, OS, ghc version are you using? > I'm running Slackware Linux 9.1 for (should upgrade, but don't want to until I > finish this little project!) Hardware is Pentium II 400 Mhz. gcc 3.2.3, > ghc 6.2.2, and gtk+2-2.2.4. Nothing odd there. As I say you get the same results as me. I wonder what's different on Axel's system that he gets smaller binaries. Duncan |