Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Bjorke, Kevin,APD
Thu, 07 Jan 1993 00:50
GCC on SGI? NOT!
Author: Bjorke, Kevin,APD
Date: Thu, 07 Jan 1993 00:50
Date: Thu, 07 Jan 1993 00:50
44 lines
1710 bytes
1710 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads