Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Nov 1999 21:04:31 +0100
From:      Gary Jennejohn <garyj@peedub.muc.de>
To:        "Daniel C. Sobral" <dcs@newsguy.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: show stopper for Gcc 2.95.2 conversion 
Message-ID:  <199911072004.VAA01702@peedub.muc.de>
In-Reply-To: Your message of "Sun, 07 Nov 1999 20:36:05 %2B0900." <38256425.7AD008ED@newsguy.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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 - garyj@muc.de
Work - garyj@fkr.cpqcorp.net




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?199911072004.VAA01702>