Article View: gnu.gcc.help
Article #50068Irix 5.1.1 GCC install
From: Larry Mulcahy
Date: Fri, 19 Nov 1993 23:34
Date: Fri, 19 Nov 1993 23:34
76 lines
3923 bytes
3923 bytes
Recently I've been trying to get GCC installed on our SGI Challenge
running Irix 5.1.1. I configure with the command
./configure --target=mips-sgi-irix5
The rest of my script looks like this:
make LANGUAGES=c
make stage1
make CC="stage1/xgcc -Bstage1/" CFLAGS="-O"
make stage2
make CC="stage2/xgcc -Bstage2/" CFLAGS="-O"
make compare
When it reaches the compare stage, it hurls in violent technicolor,
finding differences with every file:
tmp-foo1 tmp-foo2 differ: char 417, line 2
alloca.o differs
tmp-foo1 tmp-foo2 differ: char 111985, line 289
aux-output.o differs
tmp-foo1 tmp-foo2 differ: char 26953, line 30
bc-emit.o differs
[you get the picture ... hundreds more like these deleted]
varasm.o differs
tmp-foo1 tmp-foo2 differ: char 597, line 2
version.o differs
tmp-foo1 tmp-foo2 differ: char 481, line 1
xcoffout.o differs
Is GCC for SGI not quite there yet? (At least it seems to know about
ELF now). Is there something I could do to fix the problem? Would
2.5.4 help?
When I try running the gcc produced, it behaves rather strangely.
Here's how it crashes when I try to compile tin 1.22:
yacc parsdate.y
conflicts: 6 shift/reduce
gcc -c -O -DSYSV \
-DNNTP_ONLY\
-DNNTP_INEWS_GATEWAY=\"\" \
-DNNTP_INEWS_DOMAIN=\"\" \
-DNNTP_DEFAULT_SERVER=\"da_vinci\" \
-DLIBDIR=\"/usr/lib/news\" \
-DSPOOLDIR=\"/usr/spool/news\" \
-DNOVROOTDIR=\"/usr/spool/news\" -c y.tab.c
In file included from tin.h:144,
from parsdate.y:26:
/usr/local/lib/gcc-lib/mips-sgi-irix5/2.5.3/include/curses.h:47: warning: `SYSV' redefined
*Initialization*:1: warning: this is the location of the previous definition
In file included from /usr/include/ulocks.h:23,
from /usr/include/malloc.h:76,
from parsdate.y:128:
/usr/include/stddef.h:67: warning: `offsetof' redefined
/usr/local/lib/gcc-lib/mips-sgi-irix5/2.5.3/include/stddef.h:220: warning: this is the location of the previous definition
In file included from tin.h:22,
from parsdate.y:26:
/usr/include/signal.h:83: warning: useless keyword or type name in empty declaration
/usr/include/signal.h:84: warning: useless keyword or type name in empty declaration
In file included from /usr/include/ulocks.h:23,
from /usr/include/malloc.h:76,
from parsdate.y:128:
/usr/include/stddef.h:37: redefinition of `ptrdiff_t'
/usr/local/lib/gcc-lib/mips-sgi-irix5/2.5.3/include/stddef.h:84: `ptrdiff_t' previously declared here
The reference to the /usr/local/lib/gcc-lib/mips-sgi-irix5/2.5.3/include
include file is surprising. Nothing in tin refers to these directories.
I thought these were just for gcc's use when compiling itself. Should I
just delete this ticking time bomb of a gcc, or is it possibly OK?
--
Larry Mulcahy
lmulcah@lookout.mtt.it.uswc.uswest.com
The Failed Clinton Presidency: day 264, 1195 days to go
Technical Details
Message-ID:
<CGrIu1.CGK@da_vinci.it.uswc.uswest.com>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!cherokee!da_vinci!edsel!lmulcahShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,95af9ea80302f6d4,start X-Google-Attributes: gid11318c,public X-Google-Thread: 100159,95af9ea80302f6d4,start X-Google-Attributes: gid100159,public X-Google-ArrivalTime: 1993-11-19 20:02:03 PST Newsgroups: gnu.gcc.help,comp.sys.sgi.misc Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!cherokee!da_vinci!edsel!lmulcah From: lmulcah@edsel (Larry Mulcahy) Subject: Irix 5.1.1 GCC install Message-ID: <CGrIu1.CGK@da_vinci.it.uswc.uswest.com> Summary: GCC vs. Irix 5.1.1 Sender: news@da_vinci.it.uswc.uswest.com (IT Netnews) Nntp-Posting-Host: edsel Organization: US WEST Information Technologies X-Newsreader: TIN [version 1.2 PL2] Date: Fri, 19 Nov 1993 23:34:49 GMT Lines: 76