*BSD News Article 62116


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!lerc.nasa.gov!purdue!mozo.cc.purdue.edu!hillres155.cc.purdue.edu!willey
From: willey@hillres142.cc.purdue.edu (Mark Willey)
Newsgroups: comp.unix.amiga,comp.unix.bsd.netbsd.misc
Subject: Re: Different size of binaries
Followup-To: comp.unix.amiga,comp.unix.bsd.netbsd.misc
Date: 22 Feb 1996 05:15:00 GMT
Organization: Purdue University
Lines: 15
Message-ID: <4ggu4k$lci@mozo.cc.purdue.edu>
References: <4gfo7r$l89@toad.stack.urc.tue.nl>
NNTP-Posting-Host: hillres155.cc.purdue.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.amiga:12615 comp.unix.bsd.netbsd.misc:2308

Eka Durmin (eka@stack.urc.tue.nl) wrote:
: Hello,

:   I've downloaded the source and the binary of lha-1.00 for NetBSD-1.1.
: The binary is < 60kb.
: After I've installed gcc-2.7.0, I tried to recompile lha...
: Compiling works ok, but the binary I get was > 300kb.

:   Why is the new binary so much bigger? What options of gcc should I 
: turn on/off to make the binaries smaller?

Use 'strip' to take out the unneded symbols.

Mark