🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.bug
Article #2103

Re: gcc.1.3.1 on Sun 3/50?

#2103
From: Michael Meissner
Date: Fri, 30 Dec 1988 18:45
28 lines
1615 bytes
In article <6066@hoptoad.uucp> roxanne@hoptoad.UUCP (Roxanne Kumari) writes:
| Has anyone successfully compiled the gcc 1.3.1 on a 3/50?
| I followed the installation instructions for a Sun 3 without floating hardware,
| and the first two compiles worked
| (Sun CC compiling gcc, make stage 1, stage 1 compile of gcc, make stage 2)
| but the stage 2 compile of gcc failed:
| 
| stage2/gcc -g -O -Bstage2/ -c -DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-\" gcc.c
| stage2/gcc: Program cc1 got fatal signal 7.
| *** Error code 1

The problem is that gcc in stage 2 is linked by GNU, and by defualt,
gcc believes that you have a floating point unit.  If you change the
macro TARGET_DEFAULT in tm-sun3.h, you should be able to build.

5c5
< #define TARGET_DEFAULT 7
---
> #define TARGET_DEFAULT 5	/* 68020, bitfields, neither FPA or 68881 */

Revisions previous to 1.31, you had to also modify the spec files
which specify which /lib/?crt[10].o gets linked in as well, but that
was fixed in 1.31.
-- 
Michael Meissner, Data General.

Uucp:	...!mcnc!rti!xyzzy!meissner
Arpa:	meissner@dg-rtp.DG.COM   (or) meissner%dg-rtp.DG.COM@relay.cs.net
Technical Details
Message-ID: <2550@xyzzy.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!labrea!mcnc!rti!xyzzy!meissner
References: <6066@hoptoad.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!telly!ddsw1!lll-winken!killer!mit-eddie!bloom-beacon!labrea!mcnc!rti!xyzzy!meissner
From: meissner@xyzzy.UUCP (Michael Meissner)
Newsgroups: gnu.gcc.bug
Subject: Re: gcc.1.3.1 on Sun 3/50?
Message-ID: <2550@xyzzy.UUCP>
Date: 30 Dec 88 18:45:26 GMT
References: <6066@hoptoad.uucp>
Reply-To: meissner@tiktok.UUCP (Michael Meissner)
Distribution: gnu
Organization: Data General (Languages @ Research Triangle Park, NC.)
Lines: 27