Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!stanford.edu!csli!ceb From: ceb@csli.Stanford.EDU (Charles Buckley) Newsgroups: comp.sys.sgi Subject: Re: HELP: gcc on a boat anchor (3130) Message-ID: <19548@csli.Stanford.EDU> Date: 30 May 91 01:34:42 GMT References: <9105232209.AA01931@snowhite.cis.uoguelph.ca> <1991May24.012423.2547@ncsu.edu> Organization: Center for the Study of Language and Information, Stanford U. Lines: 25 In-reply-to: mp@ccvr1.ncsu.edu's message of 24 May 91 01:24:23 GMT In article <1991May24.012423.2547@ncsu.edu> mp@ccvr1.ncsu.edu (Manoj Kumar Patel) writes: Hi, I have a boat anchor model 3130. Has anyone installed gcc or g++ on one of these beasties? I would realy appreciate some (ok lots of) help with this, With lots of massaging, you can get gcc through the SGI-supplied C compiler. This, however, will do you not much good at all, because the 680x0 assembler used by SGI uses a syntax which is neither MIT nor Motorola. What's more, I'll wager the rules for accessing floating-point are different from the Sun 3 series, which seems to have been the driving fouce behind the 68000 ports of gxx. It will require coming up with a new version of the machine-specific files, which was so much work for a machine that is no longer sold and soon to be no longer supported that I gave up on it. I looked at setting up gas, but that seemed to be just as much work. Actually, working with the 3000 series C compiler from SGI isn't so bad, if you: 1. renounce ANSI compatibility, 2. sprinkle function prototypes liberally throughout your file preambles, and 3. don't use a lot of nested macros (you will run out of macro space - also a problem with Microsoft's DOS C compiler).