🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by J.M. Paden Thu, 01 Oct 1998 00:00
Bloated slrn executable in Linux Slackware
#43499
Author: J.M. Paden
Date: Thu, 01 Oct 1998 00:00
23 lines
1429 bytes
I have just upgraded from slang-1.03 to slang-1.2.2 and after that
from slrn-0.4.6 to 0.9.5.3.  I changed none of my settings in 
slrn/src/Makefile.in and /slrn/src/slrnfeat.h, but the size of the 
compile "slrn" executable has doubled from 621,061 to 1,273,287. The
executable works and I am able to read my newsgroups, but the
size of the binary irks me.

The first compile was without any change to CC= 	or to CFLAGS.
I tried changing to :
	CC=gcc
	CFLAGS= -0 -fno-strength-reduce -I/usr/include/X11R6/include,
but the executable stubbornlyremains at 1,273,287.  I suspect that
somewhere in my Linux Slackware 2.0.33, I have some settings for
gcc that are overriding my slrn/src/Makefile.in settings. Any pointers
to the offending files will be appreciated.

Regards,
jmpaden@mnsinc.com
 "The last temptation is the greatest treason: 
  To do the right deed for the wrong reason." 
  --T.S. Eliot  

Re: Bloated slrn executable in Linux Slackware
#43493
Author: Michael Sanders
Date: Thu, 01 Oct 1998 00:00
29 lines
2024 bytes
On Thu, 01 Oct 1998 00:56:08 GMT, J.M. Paden <jmpaden@mnsinc.com> wrote:
>I have just upgraded from slang-1.03 to slang-1.2.2 and after that
>from slrn-0.4.6 to 0.9.5.3.  I changed none of my settings in 
>slrn/src/Makefile.in and /slrn/src/slrnfeat.h, but the size of the 
>compile "slrn" executable has doubled from 621,061 to 1,273,287. The
>executable works and I am able to read my newsgroups, but the
>size of the binary irks me.
>
>The first compile was without any change to CC= 	or to CFLAGS.
>I tried changing to :
>	CC=gcc
>	CFLAGS= -0 -fno-strength-reduce -I/usr/include/X11R6/include,
>but the executable stubbornlyremains at 1,273,287.  I suspect that
>somewhere in my Linux Slackware 2.0.33, I have some settings for
>gcc that are overriding my slrn/src/Makefile.in settings. Any pointers
>to the offending files will be appreciated.
>
Did you look at src/Makefile?
Mine has
CFLAGS = -g -O2 -fno-strength-reduce  -I/usr/X11R6/include

slrn required stripping, which caused 1214523->304028
-- 
(T.) Michael Sanders		internet: sanders@umich.edu
Physics Department		URL: http://www-personal.umich.edu/~sanders
University of Michigan		phone: 734/936-0799
Ann Arbor, MI 48109-1120	FAX: 734/764-6843

Re: Bloated slrn executable in Linux Slackware
#43506
Author: Kent Robotti
Date: Thu, 01 Oct 1998 00:00
29 lines
1787 bytes
J.M. Paden <jmpaden@mnsinc.com> wrote:
> I have just upgraded from slang-1.03 to slang-1.2.2 and after that
> from slrn-0.4.6 to 0.9.5.3.  I changed none of my settings in 
> slrn/src/Makefile.in and /slrn/src/slrnfeat.h, but the size of the 
> compile "slrn" executable has doubled from 621,061 to 1,273,287. The
> executable works and I am able to read my newsgroups, but the
> size of the binary irks me.

> The first compile was without any change to CC= 	or to CFLAGS.
> I tried changing to :
> 	CC=gcc
> 	CFLAGS= -0 -fno-strength-reduce -I/usr/include/X11R6/include,
> but the executable stubbornlyremains at 1,273,287.  I suspect that
> somewhere in my Linux Slackware 2.0.33, I have some settings for
> gcc that are overriding my slrn/src/Makefile.in settings. Any pointers
> to the offending files will be appreciated.

> Regards,
> jmpaden@mnsinc.com
>  "The last temptation is the greatest treason: 
>   To do the right deed for the wrong reason." 
>   --T.S. Eliot  

Maybe it's linked statically with libc.

ldd slrn


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads