Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 02:18:05 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        ache@nagual.pp.ru (Andrey A. Chernov)
Cc:        dcs@newsguy.com, current@FreeBSD.ORG
Subject:   Re: /sys/boot, egcs vs. gcc, -Os
Message-ID:  <199904080018.CAA26034@ceia.nordier.com>
In-Reply-To: <19990408040432.A74787@nagual.pp.ru> from "Andrey A. Chernov" at "Apr 8, 99 04:04:32 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Andrey A. Chernov wrote:

> On Thu, Apr 08, 1999 at 08:09:43AM +0900, Daniel C. Sobral wrote:
> > > -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.
> >
> > I didn't see any changes to loader/boot[012] lately. EGCS requires
> > -Os, but gcc should be able to compile it within limits, just like
> > in -stable. Are you sure you didn't test with egcs after removing
> > -Os?
> 
> Yes, of course I am shure. BTW, I see lots of malign options in cc call,
> maybe they play role.
> 
> cc -elf -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -fno-builtin
> -malign-functions=0 -malign-jumps=0 -malign-loops=0 -mrtd  -Wall
> -Waggregate-return -Wbad-function-cast -Wcast-align
> -Wmissing-declarations -Wmissing-prototypes -Wnested-externs
> -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings   -c
> /usr/src/sys/boot/i386/boot2/boot2.c

Revision 1.12 of the Makefile contains option changes for egcs.  If you
want to use gcc, use rev 1.11 of the Makefile.  (Jeez, guys!)

-- 
Robert Nordier


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?199904080018.CAA26034>