🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1628

Re: gcc2.2.2

#1628
From: Michael Glenn
Date: Sun, 27 Sep 1992 23:03
55 lines
3058 bytes
In article <1992Sep25.112038.1443@cs.uoregon.edu>  
bfjeld@obelix.cs.uoregon.edu (Bjorn S. Fjeld Pettersen) writes:
> Have anyone compiled gcc2.2.2 on the NeXT? I'm following the 
> instructions, and it won't go past rtl.c. I'm using 3.0.
> Any help would be greatly appreciated!
> 
> Bjorn.
> bjorn@darmok.uoregon.edu

I also had the same problem.  Right at the "make LANGUAGES=c" stage.  
(making stage 1 compiler)  Here is what I see:

cc -c    -g     -I. -I. -I./config rtl.c
rtl.c:192: illegal expression, found `__extension__'
rtl.c:192: illegal expression, found `__extension__'
rtl.c:192: illegal expression, found `int'
rtl.c:192: illegal external declaration, found `)'
rtl.c:192: illegal external declaration, found `if'
rtl.c:192: illegal method selector, found `0'
rtl.c:192: illegal method definition, missing `{' after `)'
rtl.c:192: syntax error, found `->'
rtl.c:192: illegal external declaration, missing `;' after `)'
rtl.c:192: illegal method definition, found `->'
rtl.c:192: illegal method definition, missing `{' after `)'
rtl.c:192: illegal external declaration, missing `;' after `__o1'
rtl.c:197: illegal external declaration, missing `;' after `unsigned'
rtl.c:201: illegal external declaration, found `return'
rtl.c:656: illegal expression, found `__extension__'
rtl.c:656: illegal expression, found `int'
rtl.c:656: illegal expression, found `)'
rtl.c:660: illegal expression, found `else'
rtl.c:663: illegal expression, found `__extension__'
rtl.c:663: illegal expression, found `)'
rtl.c:666: illegal expression, found `__extension__'
rtl.c:666: illegal external declaration, found `)'
rtl.c:667: illegal external declaration, missing `;' after `*'
rtl.c:667: illegal external declaration, found `if'
rtl.c:667: illegal method selector, found `0'
rtl.c:667: illegal method definition, missing `{' after `)'
rtl.c:667: syntax error, found `->'
rtl.c:667: illegal external declaration, missing `;' after `)'
rtl.c:667: illegal method definition, found `->'
rtl.c:667: illegal method definition, missing `{' after `)'
rtl.c:667: illegal external declaration, missing `;' after `__o1'
rtl.c:689: illegal method selector, found `1'
rtl.c:689: illegal method definition, missing `{' after `)'
rtl.c:690: illegal function prototype, found `('
rtl.c:690: illegal function definition, found `)'
*** Exit 1

I got my gcc-2.2.2 from aeneas.mit.edu, and am running 3.0 which I built  
straight from cd-rom to a clean disk.  (I configured with "configure  
--target=next-mach3.0")  Any hints?

fermat@fermat.dartmouth.edu (NeXTmail welcome)
Technical Details
Message-ID: <1992Sep27.230337.5344@dartvax.dartmouth.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!news
References: <1992Sep25.112038.1443@cs.uoregon.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!rpi!bu.edu!dartvax!news
From: fermat@fermat.dartmouth.edu (Michael Glenn)
Newsgroups: comp.sys.next.programmer
Subject: Re: gcc2.2.2
Message-ID: <1992Sep27.230337.5344@dartvax.dartmouth.edu>
Date: 27 Sep 92 23:03:37 GMT
References: <1992Sep25.112038.1443@cs.uoregon.edu>
Sender: news@dartvax.dartmouth.edu (The News Manager)
Organization: Dartmouth College, Hanover, NH
Lines: 55