From owner-freebsd-current Wed Apr 7 20:34:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id A7C4115228 for ; Wed, 7 Apr 1999 20:34:25 -0700 (PDT) (envelope-from jdp@polstra.com) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.9.3/8.9.1) with ESMTP id UAA10086; Wed, 7 Apr 1999 20:32:25 -0700 (PDT) (envelope-from jdp@polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.9.2/8.9.1) id UAA77280; Wed, 7 Apr 1999 20:32:25 -0700 (PDT) (envelope-from jdp@polstra.com) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199904080327.NAA03975@godzilla.zeta.org.au> Date: Wed, 07 Apr 1999 20:32:25 -0700 (PDT) Organization: Polstra & Co., Inc. From: John Polstra To: Bruce Evans Subject: Re: /sys/boot, egcs vs. gcc, -Os Cc: current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Bruce Evans wrote: >>The problem in this case is just that the compilers require >>different command line options. It's asking _way_ too much to >>require those to be identical. > > Actually, they don't. Compiler-specific options can be put in ${CC}. > Perhaps they even should be. But in this case, we want "-Os" (egcs) or "-O2" (gcc) only for building boot -- not for everything. It could be parameterized with make macros like "OPT_SMALL" and "OPT_FAST" in the *.mk files, I suppose. John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message