From owner-freebsd-chat Thu Apr 20 9:11:20 2000 Delivered-To: freebsd-chat@freebsd.org Received: from bachue.usc.unal.edu.co (bachue.usc.unal.edu.co [168.176.3.20]) by hub.freebsd.org (Postfix) with ESMTP id E59F837B5B2 for ; Thu, 20 Apr 2000 09:11:15 -0700 (PDT) (envelope-from giffunip@tutopia.com) Received: from tutopia.com ([216.226.229.145]) by bachue.usc.unal.edu.co (Netscape Messaging Server 3.6) with ESMTP id AAA21B; Thu, 20 Apr 2000 11:10:09 -0400 Message-ID: <38FF2826.FF096EDE@tutopia.com> Date: Thu, 20 Apr 2000 10:54:14 -0500 From: "Pedro F. Giffuni" Organization: Universidad Nacional de Colombia X-Mailer: Mozilla 4.5 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: Brad Knowles Cc: chat@FreeBSD.ORG Subject: Re: distfiles no longer on 4.0 CDs References: <38FE7F1D.59E9B386@tutopia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brad Knowles wrote: > > 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). > FWIW, we already strip all the binaries but running gzipped executables is not really necessary since these fit in memory. -O -Os would be a good default for the packages since, other than reducing size, it gives a pretty good optimization level. IMHO, the packages should be in *.bzip.cpio instead of *.tar.gz format, since bzip is better and our tar is unstandard. (also note the change in order of operations here, it makes the packages easier to check before unpacking). The package naming should also be something that resembles 8.3 format, perhaps name-version.bio. My $0.02, I hope BSDI has something more useful. cheers, Pedro. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message