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 majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message