🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52127

gcc-2.3.3 on Mips svr3 (and bsd43)

#52127
From: Neil McKellar
Date: Thu, 04 Feb 1993 21:38
34 lines
2278 bytes
Hi!  I'm trying to install gcc 2.3.3 on a MIPS running RISC/os (UMIPS) 5.0.
This system has three (3) versions of cc.  The default on our system is
svr3, but bsd43 and svr4 are also available.  My problem is:

I tried to do the compile under the default (svr3).
  (1) % configure mips-mips-sysv
  (2) % make bootstrap
       -- the compile proceeds through the first pass and starts on stage1/
          Part way through, ./genflags dies on a segmentation fault.

I've had trouble before with the MIPS -O options, so I removed all of them
from Makefile.  This time 'make bootstrap' died during the first pass when
./genattr died on a segmentation fault.

I then tried compiling with bsd43 (this occasionally works).
  (1) % configure mips-mips-bsd43
  (2) -- edit the Makefile to insert the -systype bsd43 flag
  (3) % make bootstrap
      -- the compile dies in the first pass when it turns out that MIPS'
         sys/stat.h doesn't check to see if it's been included before. :-)
         The work around helps us along, but ./mips-tfile dies like so...

./xgcc -B./  -DIN_GCC   -g  -c dummy.c
17274:./mips-tfile: rld: Error: unresolvable symbol in ./mips-tfile: _ctype_
17274:./mips-tfile: rld: Fatal Error: this executable has unresolvable symbols

I'll try it with svr4 in the meantime, but I'm hoping someone out there will
tell me this is simple to fix -- or at least fixable.  (I'm dreaming :-)

Post a reply or email me...
--
Neil McKellar (mckellar@cs.ualberta.ca)
"Then Logic would take you by the throat, and FORCE you to do it!"
                        -- What the Tortoise Said to Achilles, by Lewis Carroll
Technical Details
Message-ID: <mckellar.728861897@dapp>
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!cs.ubc.ca!alberta!mckellar

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,bd553609995bacc8,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-02-05 05:22:01 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!gumby!destroyer!cs.ubc.ca!alberta!mckellar
From: mckellar@cs.UAlberta.CA (Neil McKellar)
Subject: gcc-2.3.3 on Mips svr3 (and bsd43)
Message-ID: <mckellar.728861897@dapp>
Keywords: gcc, mips, svr3, bsd43
Sender: news@cs.UAlberta.CA (News Administrator)
Nntp-Posting-Host: dapp.cs.ualberta.ca
Organization: University of Alberta, Edmonton, Canada
Date: Thu, 4 Feb 1993 21:38:17 GMT
Lines: 35