Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Apr 1999 04:04:32 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: /sys/boot, egcs vs. gcc, -Os
Message-ID:  <19990408040432.A74787@nagual.pp.ru>
In-Reply-To: <370BE5B7.2A1561FC@newsguy.com>; from dcs@newsguy.com on Thu, Apr 08, 1999 at 08:09:43AM %2B0900
References:  <19990407193627.A68829@nagual.pp.ru> <370B84A4.3818F8A@newsguy.com> <19990407221941.A91075@nagual.pp.ru> <370BE5B7.2A1561FC@newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

-- 
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990408040432.A74787>