🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #1353

gcc 2.3.1 on IBM RT & hc

#1353
From: Karl Berry
Date: Wed, 11 Nov 1992 05:57
19 lines
1308 bytes
gcc 2.3.1 on an IBM RT running AOS (4.3BSD), configured as romp-aos,
doesn't compile cleanly for me using hc: I get errors on the files that
include obstack.h, by virtue of the lines (around line 130):

#if defined (__STDC__) && ! defined (offsetof)
...
#include <stddef.h>
...
#endif

The hc compiler defines __STDC__ and yet there is no <stddef.h> on the
system.  This is obviously a deficiency in the system, but I think it
needs to be worked around somehow, so the compiler can be bootstrapped.
Perhaps the RT/AOS config files should define offsetof, I don't know.

I linked gstddef.h to stddef.h so I could proceed with the compilation,
which worked ok until gcc.c was compiled, when there was conflict
between <sys/types.h> and the renamed gstddef.h.  I just compiled that
file with my previous gcc, and everything went ok.
Technical Details
Message-ID: <199211111557.AA01981@claude.cs.umb.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!claude.cs.umb.edu!karl
From: karl@claude.cs.umb.edu (Karl Berry)
Subject: gcc 2.3.1 on IBM RT & hc
Message-ID: <199211111557.AA01981@claude.cs.umb.edu>
Sender: gnulists@ai.mit.edu
Reply-To: karl@cs.umb.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Wed, 11 Nov 1992 05:57:09 GMT
Approved: bug-gcc@prep.ai.mit.edu
Lines: 20