Date: Wed, 27 Jan 1999 22:29:20 +0100 From: Marcus Brinkmann <[EMAIL PROTECTED]>
On Wed, Dec 02, 1998 at 09:42:48PM +0100, Mark Kettenis wrote: > > * There is a problem with generating statically linked binaries. You > will need to patch you gcc specs file. I use the patch at the end > of this message for gcc 2.8.1. Remeber to backup your specs file. > We intend to provide a better solution for the problem in the future > which does not need this patch. I will add this patch to the Debian package of egcs 2.91.60. Could you outline what the problem indeed is, and why you would need a change to the specs file now and not later? I take it that this is only a temporary cludge? Right now you need a special start file (crt0.o) for creating statically linked binaries. Since the Hurd bootstrap program (serverbooot) and the bootstrap filesystem (ext2fs.static or ufs.static) are statically linked, this is quite essential. I made this ``fix'' because at the time I really wanted to get things working again, but didn't understand all details of the Hurd startup code. We plan to do it right, and I'm planning to do it when I start integrating my pthreads code into libc since I'll have to mess with the startup code then anyway. Mark

