From owner-freebsd-chat Thu Apr 20 1:52:15 2000 Delivered-To: freebsd-chat@freebsd.org Received: from apoq.skynet.be (apoq.skynet.be [195.238.2.35]) by hub.freebsd.org (Postfix) with ESMTP id E41AF37BDEA for ; Thu, 20 Apr 2000 01:52:12 -0700 (PDT) (envelope-from blk@skynet.be) Received: from [195.238.1.121] (brad.techos.skynet.be [195.238.1.121]) by apoq.skynet.be (Postfix) with ESMTP id 89B931F349; Thu, 20 Apr 2000 10:52:01 +0200 (MET DST) Mime-Version: 1.0 X-Sender: blk@pop.skynet.be Message-Id: In-Reply-To: <38FE7F1D.59E9B386@tutopia.com> References: <38FE7F1D.59E9B386@tutopia.com> Date: Thu, 20 Apr 2000 10:32:04 +0200 To: "Pedro F. Giffuni" , chat@FreeBSD.ORG From: Brad Knowles Subject: Re: distfiles no longer on 4.0 CDs Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 10:53 PM -0500 2000/4/19, Pedro F. Giffuni wrote: > 4.6 Which compiler switches should I use for smallest code size? > > The combination -O -Os will usually generate the smallest binaries. If you're going to do this sort of thing, then you also need to make sure that you strip all the binaries, and in fact you should probably compress them all with gzip and make sure that the system can run gzip'ed executables directly (as I believe we do with the kernel image on the bootfloppy images). Of course, this would probably slow the system down pretty dramatically, and would make debugging a real bitch if things didn't "just work" off the CDs. Myself, I think I'd prefer to have more CDs and leave the binaries alone. -- These are my opinions -- not to be taken as official Skynet policy ====================================================================== Brad Knowles, || Belgacom Skynet SA/NV Systems Architect, Mail/News/FTP/Proxy Admin || Rue Colonel Bourg, 124 Phone/Fax: +32-2-706.13.11/12.49 || B-1140 Brussels http://www.skynet.be || Belgium To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message