home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.gcc.bug
- Path: sparky!uunet!cis.ohio-state.edu!applelink.apple.COM!BJORKE
- From: BJORKE@applelink.apple.COM (Bjorke, Kevin,APD)
- Subject: GCC on SGI? NOT!
- Message-ID: <726368284.8982522@AppleLink.Apple.COM>
- Sender: gnulists@ai.mit.edu
- Organization: GNUs Not Usenet
- Distribution: gnu
- Date: Thu, 7 Jan 1993 00:50:00 GMT
- Approved: bug-gcc@prep.ai.mit.edu
- Lines: 45
-
- I have been unable to compile GCC 2.1 under SGI's IRIX version 4.
- While "configure" is perfectly happy with being told simply:
-
- configure iris
-
- the subsequent "make" fails, albeit after many successful object compiles,
- on the file "mips-tfile.c" --- here's the log.
-
- //////////////////////////////////////////////////
-
- make LANGUAGES=c
- cc -Wf,-XNg1500 -c -O1 -g -I. -I. -I./config mips-tfile.c
- accom: Error: /usr/include/errno.h, line 47: Qualifier mismatch in prototype,
- pointer to const char versus pointer to char
- extern void perror( char *);
- ---------------------------------^
- accom: Error: /usr/include/errno.h, line 47: inconsistent prototypes for
- function perror
- extern void perror( char *);
- ---------------------------------^
- accom: Warning 100: mips-tfile.c, line 4979: statement not reached
- return 0;
- ----------^
- *** Error code 1
-
- Stop.
- 4.2u 3.3s 0:09 79%
-
- ////////////////////////////////////////////////////
-
- Any suggestions?
-
- Making the "configure" call more explicit, ie
-
- configure mips-sgi-irix4
-
- Fails even more rapidly, with bogus (for the MIPS C compiler) calls to
- alloca().
-
- I have repeated this failure on both my 4D35 (R3000 CPU) and a Crimson (R4000
- CPU).
-
- kb
-
-
-