Subject: Re: lib/2758: crt0.o pulls in much of libc during linking
To: Chris G Demetriou <>
From: Bill Sommerfeld <>
List: netbsd-bugs
Date: 09/16/1996 10:59:48
Thanks, Chris, for pointing out that there already is a scrt0.o..

It's just that the i386 compiler doesn't use it..

Fixing this is a one-liner..


Put this in the src/gnu/usr.bin/gcc/arch/*/netbsd.h for ports which
have an scrt0.o (everyone except mips and alpha)..

Actually, I'd argue that for simplicity it should go in
src/gnu/usr.bin/arch/netbsd.h for all ports, and make the two outlyers
hardlink crt0.o and scrt0.o..

					- Bill