Date: Wed, 7 Apr 1999 11:54:00 -0700 (PDT) From: John Polstra <jdp@polstra.com> To: ache@nagual.pp.ru Cc: current@freebsd.org Subject: Re: /sys/boot, egcs vs. gcc, -Os Message-ID: <199904071854.LAA96158@vashon.polstra.com> In-Reply-To: <19990407221941.A91075@nagual.pp.ru> References: <19990407193627.A68829@nagual.pp.ru> <370B84A4.3818F8A@newsguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <19990407221941.A91075@nagual.pp.ru>, Andrey A. Chernov <ache@nagual.pp.ru> wrote: > 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. Why? The compiler in -current is egcs, not gcc. If you want to use the old compiler, then use the old sources for boot too. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Self-interest is the aphrodisiac of belief." -- James V. DeLong To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904071854.LAA96158>