"Daniel C. Sobral" writes:
>Gary Jennejohn wrote:
>>
>> Any idea why GCC 2.95.2 produces so much more code ?
>
>Mmmm... O'Brien, could you make sure the space-critical code in
>sys/boot compiles ok?
>
I still have GCC 2.95.2 installed. This is what I get in /sys/boot:
===> i386/boot2
(cd /usr/src/sys/boot/i386/boot2; m4 -DFLAGS=0 boot1.m4 boot1.s) | as -o boot1.o
ld -nostdlib -static -N -e start -Ttext 0x7c00 -o boot1.out boot1.o
objcopy -S -O binary boot1.out boot1
dd if=/dev/zero of=boot2.ldr bs=512 count=1 2>/dev/null
cc -elf -I/usr/src/sys/boot/i386/boot2/../btx/lib -I. -fno-builtin -Os
-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 boot2.c
(cd /usr/src/sys/boot/i386/boot2; m4 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600
sio.s) | as -o sio.o
ld -nostdlib -static -N -Ttext 0x1000 -o boot2.out
/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o
objcopy -S -O binary boot2.out boot2.bin
btxld -v -E 0x1000 -f bin -b /usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr
-o boot2.ld -P 1 boot2.bin
kernel: ver=1.01 size=700 load=9000 entry=9010 map=16M pgctl=1:1
client: fmt=bin size=15c0 text=0 data=0 bss=0 entry=0
output: fmt=bin size=1ec0 text=200 data=1cc0 org=0 entry=0
-192 bytes available
^^^^^^^^^^^^^^^^^^^^
---
Gary Jennejohn
Home - [EMAIL PROTECTED]
Work - [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message