Subject: Re: GCC 2.6.0/2.6.1
To: Mark P. Gooderum <mark@nirvana.good.com>
From: Stephen Champion <srcF93@hamp.hampshire.edu>
List: current-users
Date: 11/16/1994 18:22:28
On Wed, 16 Nov 1994, Mark P. Gooderum wrote:
> I've found I need the following patch to GCC 2.6.1 for it to build,
> this is similar to the stddef.h patch I needed for 2.6.0 and 2.5.8?
>
> Other people seem to be building okay, I'm not sure why I have this
> problem. The patch basically fixes the GNU stddef.h to not have problems
> about things like size_t not being defined. The problem only shows up
> in libgcc2.c and a few other files from libgcc2, other files compile fine.
>
> I'd like comment as to whether other people have had this problem before
> sending it in to the GCC people. This is with 1.0 release.
I had exactly the same problem with 1.0-pre3 and 1.0 on my Amiga.
I was just lazy, and replaced gcc2.6.1/include/stddef.h with
/usr/include/stddef.h, rather than sorting things out and making all the
patches. As far as I can tell, gcc's stddef.h is just for use in making
a cross-compiler, and setting defaults when the needed definitions are
not found on an unknown system.
It is good that someone is more productive than I, and has made proper
changes.
The same difficulties were encountered by everyone I know of who has
compiled 2.6.1 on Amigas. If you get the same report from any more systems,
I'd say go ahead and send it in.
I really don't feel like compiling again (takes 15 hours on an 030)
to test, but your diffs do cover every definition I found missing.
/* Stephen Champion | Amiga 3000/25 */
/* SChampion@Hamp.Hampshire.edu | NetBSD 1.0 */
/* Hampshire College - Amherst, MA | Steve@eth217.hampshire.edu */
#include "Text:Legal/Standard_Disclaimer"