Article View: gnu.gcc.help
Article #54354gcc 1.37.1 on IRIX 3.3.1
From: Knobi der Rechnerschrat
Date: Sun, 04 Nov 1990 13:09
Date: Sun, 04 Nov 1990 13:09
192 lines
5995 bytes
5995 bytes
Hello,
I'm new on this list. During the last week I've tried to install gcc-
1.37.1 from prep.ai.mit.edu on an IRIS 4D/70GT running IRIX 3.3.1. After
changing 8 files, I've got it running. I will include diffs for the files
at the end of this message. Maybe someone who really knows about the
interna of gcc may have a look at them to see that I haven't done some-
thing absolutely unforgiveable. Now I have a few questions remaining.
a) gcc as distributed from prep.ai.mit.edu does not support debug
information for the mips architecture. Is there a version out in the
world, that provides support for dbx? Will this version migrate into
the official distribution?
b) I've heard of a osf version of gcc (meissner@osf.org ???). Is this an
answer to a? Will it be official gnu-software int the near future?
c) I'm looking for mips/iris-versions of gnu-as, gnu-ld and gnu-gdb, that
are running under IRIX 3.3.1. Anything known?
Thanks a lot in advance
Regards
Martin Knoblauch
TH-Darmstadt
Physical Chemistry 1
Petersenstrasse 20
W-6100 Darmstadt, FRG
BITNET: <XBR2D96D@DDATHD21>
FAX: (+int) 6151 16 4298
PHONE: (+int) 6151 16 2398
PS: If you answer, please do it directly to me, as I'm not 100% shure
that I've been added to hepl-gcc up to now.
------------------------diffs for gcc-1.37.1 for IRIX 3.3.1---------------
*** emit-rtl.oc Fri Feb 2 23:51:21 1990
--- emit-rtl.c Tue Oct 30 15:39:57 1990
***************
*** 35,40 ****
#include "config.h"
- #include <stdio.h>
#include "gvarargs.h"
#include "rtl.h"
#include "regs.h"
--- 35,40 ----
#include "config.h"
#include "gvarargs.h"
+ #include <stdio.h>
#include "rtl.h"
#include "regs.h"
*** gcc.oc Sat Jan 6 22:24:32 1990
--- gcc.c Tue Oct 30 15:29:01 1990
***************
*** 118,121 ****
--- 118,122 ----
*/
+ #include "gvarargs.h"
#include <stdio.h>
#include <sys/types.h>
***************
*** 125,129 ****
#include "config.h"
#include "obstack.h"
- #include "gvarargs.h"
#ifdef USG
--- 126,129 ----
*** tree.oc Tue Oct 3 05:01:09 1989
--- tree.c Tue Oct 30 15:29:11 1990
***************
*** 34,41 ****
#include "config.h"
#include <stdio.h>
#include "tree.h"
#include "obstack.h"
- #include "gvarargs.h"
#include "flags.h"
--- 34,41 ----
#include "config.h"
+ #include "gvarargs.h"
#include <stdio.h>
#include "tree.h"
#include "obstack.h"
#include "flags.h"
*** stdarg.oh Wed Oct 31 17:23:48 1990
--- stdarg.h Thu Nov 1 19:17:01 1990
***************
*** 2,5 ****
--- 2,10 ----
#define _STDARG_H
+ /* This is for IRIX 3.3.1 , M. Knoblauch */
+ #ifdef sgi
+ #define _VA_LIST_
+ #endif
+
typedef char *va_list;
***************
*** 10,14 ****
(((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
! #ifndef __sparc__
#define va_start(AP, LASTARG)
\
(AP = ((char *) &(LASTARG) + __va_rounded_size (LASTARG)))
--- 15,19 ----
(((sizeof (TYPE) + sizeof (int) - 1) / sizeof (int)) * sizeof (int))
! #if !defined(__sparc__) && !defined(__mips__)
#define va_start(AP, LASTARG)
\
(AP = ((char *) &(LASTARG) + __va_rounded_size (LASTARG)))
*** stddef.oh Thu Sep 21 06:00:22 1989
--- stddef.h Tue Oct 30 14:31:12 1990
***************
*** 8,15 ****
/* Unsigned type of `sizeof' something. */
! #ifndef _SIZE_T /* in case <sys/types.h> has defined it. */
! #define _SIZE_T
typedef unsigned long size_t;
! #endif /* _SIZE_T */
/* A null pointer constant. */
--- 8,16 ----
/* Unsigned type of `sizeof' something. */
! /* _SIZE_T_ for _SIZE_T in IRIX 3.3.1 */
! #ifndef _SIZE_T_ /* in case <sys/types.h> has defined it. */
! #define _SIZE_T_
typedef unsigned long size_t;
! #endif /* _SIZE_T_ */
/* A null pointer constant. */
*** va-mips.oh Wed Apr 5 22:26:50 1989
--- va-mips.h Tue Oct 30 15:30:40 1990
***************
*** 7,10 ****
--- 7,15 ----
/* ---------------------------------------- */
+ /* This is for IRIX 3.3.1 , M. Knoblauch */
+ #ifdef sgi
+ #define _VA_LIST_
+ #endif
+
/* WARNING: THIS depends heavily on in register parameter
passing conventions of the MIPS. This is compatible with MIPS
*** config/tm-iris.oh Tue Aug 29 22:28:58 1989
--- config/tm-iris.h Wed Oct 31 08:28:48 1990
***************
*** 6,10 ****
#define CPP_PREDEFINES "-Dunix -Dmips"
#undef CPP_SPEC
! #define CPP_SPEC "-Dsgi -DSVR3 -Dhost_mips -DMIPSEB -DSYSTYPE_SYSV -DLANGUAGE_
C"
#define STARTFILE_SPEC \
--- 6,11 ----
#define CPP_PREDEFINES "-Dunix -Dmips"
#undef CPP_SPEC
! #define CPP_SPEC "-Dsgi -DSVR3 -Dhost_mips -DMIPSEB -D_MIPSEB -DSYSTYPE_SYSV\
! -D_SYSTYPE_SYSV -DLANGUAGE_C -D_LANGUAGE_C -D__EXTENSIONS__"
#define STARTFILE_SPEC \
*** config/xm-iris.oh Mon Jul 24 22:58:12 1989
--- config/xm-iris.h Wed Oct 31 08:29:25 1990
***************
*** 7,11 ****
#define bcmp(a,b,c) memcmp (a,b,c)
! #ifdef __GNUC__
! #define alloca(n) __builtin_alloca(n)
! #endif
--- 7,13 ----
#define bcmp(a,b,c) memcmp (a,b,c)
! /* already defined in xm-mips.h , M. Knoblauch
! #ifdef __GNUC__
! #define alloca(n) __builtin_alloca(n)
! #endif
! */
--------------------------------------------------------------------------
Technical Details
Message-ID:
<9011041310.AA01487@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!MITVMA.MIT.EDU!XBR2D96D%DDATHD21.BITNETShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,6b09a948c4a564a4,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1990-11-04 18:10:30 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!MITVMA.MIT.EDU!XBR2D96D%DDATHD21.BITNET From: XBR2D96D%DDATHD21.BITNET@MITVMA.MIT.EDU (Knobi der Rechnerschrat) Newsgroups: gnu.gcc.help Subject: gcc 1.37.1 on IRIX 3.3.1 Message-ID: <9011041310.AA01487@life.ai.mit.edu> Date: 4 Nov 90 13:09:00 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 192 Posted: Sun Nov 4 14:09:00 1990