From owner-freebsd-current Wed Apr 7 11:22:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from nagual.pp.ru (nagual.pp.ru [193.125.27.73]) by hub.freebsd.org (Postfix) with ESMTP id 0E6DF1594E for ; Wed, 7 Apr 1999 11:22:16 -0700 (PDT) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.9.3/8.9.3) id WAA91130; Wed, 7 Apr 1999 22:19:42 +0400 (MSD) (envelope-from ache) Date: Wed, 7 Apr 1999 22:19:41 +0400 From: "Andrey A. Chernov" To: "Daniel C. Sobral" Cc: current@FreeBSD.ORG Subject: Re: /sys/boot, egcs vs. gcc, -Os Message-ID: <19990407221941.A91075@nagual.pp.ru> References: <19990407193627.A68829@nagual.pp.ru> <370B84A4.3818F8A@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <370B84A4.3818F8A@newsguy.com>; from dcs@newsguy.com on Thu, Apr 08, 1999 at 01:15:32AM +0900 Organization: Biomechanoid Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Apr 08, 1999 at 01:15:32AM +0900, Daniel C. Sobral wrote: > "Andrey A. Chernov" wrote: > > > > Now /sys/boot can't be compiled with gcc due to non-existent -Os added. > > Is it intentional or can be removed for backward compatibility? > > It can be removed for backward compatibility. What it does is > produce a smaller code. Egcs needs it, gcc doesn't. The problem is deeper. When I reemove it, I got this error: -2100 bytes available it seems that boot2 needs to be reduced, and I don't know why it becomes that big and what can be reduced. First candidates are static cmd[512] and kernel[1024]. Please fix so it can be still compiled with gcc. -- Andrey A. Chernov http://nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message