🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #43493

Re: Bloated slrn executable in Linux Slackware

#43493
From: 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

Technical Details
Message-ID: <slrn717975.fgk.sanders@lhe.physics.lsa.umich.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <3612d030.2895272@news1.mnsinc.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrn717975.fgk.sanders@lhe.physics.lsa.umich.edu>
Subject: Re: Bloated slrn executable in Linux Slackware
Date: Thu, 01 Oct 1998 00:00:00 +0000
From: sanders@lhe.physics.lsa.umich.edu (Michael Sanders)
References: <3612d030.2895272@news1.mnsinc.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 396723707
X-Trace: news.itd.umich.edu 907257188 141.211.96.32 (Thu, 01 Oct 1998 11:53:08 EDT)
Organization: University of Michigan
Reply-To: Michael Sanders <sanders@umich.edu>
NNTP-Posting-Date: Thu, 01 Oct 1998 11:53:08 EDT
Newsgroups: news.software.readers