From owner-freebsd-hackers Sat Aug 4 14:58:47 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from dragon.nuxi.com (trang.nuxi.com [206.40.252.115]) by hub.freebsd.org (Postfix) with ESMTP id 30B8237B401 for ; Sat, 4 Aug 2001 14:58:45 -0700 (PDT) (envelope-from obrien@NUXI.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.11.4/8.11.1) id f74LwYD01236; Sat, 4 Aug 2001 14:58:34 -0700 (PDT) (envelope-from obrien) Date: Sat, 4 Aug 2001 14:58:34 -0700 From: "David O'Brien" To: Bernd Walter Cc: freebsd-hackers@freebsd.org Subject: Re: linking WITH -lstdc++ makes executeables smaller? Message-ID: <20010804145834.A1138@dragon.nuxi.com> Reply-To: freebsd-hackers@freebsd.org References: <20010803141225.A3246@cicely20.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010803141225.A3246@cicely20.cicely.de>; from ticso@mail.cicely.de on Fri, Aug 03, 2001 at 02:12:25PM +0200 X-Operating-System: FreeBSD 5.0-CURRENT Organization: The NUXI BSD group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Aug 03, 2001 at 02:12:25PM +0200, Bernd Walter wrote: > I used a library which also needed -lstdc++. > Now that I did not need them any more I removed them and was > surprised that the resulting FreeBSD binary actually got bigger! > On NetBSD the binary is slightly smaller as expected. > > Is there any logical explanation for this phaenomen? Forget `ls'. Show the output from `size' and `file'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message