🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #53514

GNU C and GNU C++ on R3000

#53514
From: meissner
Date: Thu, 07 Nov 1991 06:08
63 lines
2870 bytes
| 
| Has anyone ported the GNU C and GNU C++ compiler
| to Sony station with R3000 processor ?
| 
| Thanks for any information
|                                  Pascal Violero   pascal@laas.laas.fr

Configuration files exist for the Sony News system for GCC, though
recently, it's been pointed out to me that the released files were
wrong.  I have updated the GCC 2.00 tree with a fixed version.  My
next update of the OSF patches to 1.39 which provide full debug
support and some optimizations will also include them.  I suspect they
may need more tuning.  I suspect the switch 'SYSTYPE_BSD' may or may
not be desirable (the MIPS OS port uses these, I don't know what other
MIPS vendors do).  I wonder also whether we should drop the -I line in
CPP_SPEC, and what form of the predefined macros Sony uses for -ansi
mode.

As to G++ support, there are mixed reports of it working on MIPS
platforms.  I myself do not run G++ here, and the last time somebody
ported my patches to G++ was in the 1.37.2 timeframe.

GCC/G++ 2.00 should be better, though debugging with the ECOFF format
may present some challenges.

Here is the config/tm-mips-news.h file from my 1.39 source tree:

/*
 * This file contains changes from the Open Software Foundation.
 * The RCS history log will appear at the end of this file.
 * @(#)tm-mips-news.h	$Revision: 1.2.2.3 $ $Date: 91/11/06 09:30:41 $ $Locker:  $
 */

/* like pmax except BIG ENDIAN instead of LITTLE ENDIAN  */

#include "tm-mips.h"

#undef CPP_SPEC
				/* default RISC NEWS environment */
#define CPP_SPEC "-Dr3000 -Dnews7300 -DLANGUAGE_C -DMIPSEB -DSYSTYPE_BSD -Dsony_news -Dsony -Dunix -Dmips -Dhost_mips -I/usr/include2.11"

#undef MACHINE_TYPE
#define MACHINE_TYPE "Sony NEWS (RISC NEWS)"

/*
 * HISTORY
 * $Log:	tm-mips-news.h,v $
 * Revision 1.2.2.3  91/11/06  09:30:41  meissner
 * 	Add more NEWS specific defines.
 * 	[91/11/06  09:30:20  meissner]
 * 
 * Revision 1.2.2.2  91/11/05  10:02:56  meissner
 * 	Sony NEWS system is big endian.
 * 	[91/11/05  10:01:00  meissner]
 * 
 * $EndLog$
 */

--
Michael Meissner	email: meissner@osf.org		phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142

You are in a twisty little passage of standards, all conflicting.
Technical Details
Message-ID: <9111071608.AA01751@tiktok.osf.org>
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!osf.ORG!meissner
References: meissner@osf.ORG

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,7fad45aeff5bfc69
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1991-11-07 09:00:06 PST
Path: arc1-ca.pugleaf.net!gmdzi!zeus.ieee.org!sdd.hp.com!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!osf.ORG!meissner
From: meissner@osf.ORG
Newsgroups: gnu.gcc.help
Subject: GNU C and GNU C++ on R3000
Message-ID: <9111071608.AA01751@tiktok.osf.org>
Date: 7 Nov 91 06:08:50 GMT
References: meissner@osf.ORG
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 63