This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/12611] Gcc doesn't handle SGI's modularized compiler setup


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12611



------- Additional Comments From rrr6399 at futuretek dot com  2003-10-14 03:08 -------
I moved the -I to the end of the list:

stage1/xgcc -Bstage1/ -B/u/ba/rrr6399/opt/gcc-3.3.1/mips-sgi-irix6.5/bin/ -c  -g
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
   -DHAVE_CONFIG_H   -I. -Ijava -I. -I./java -I./config -I./../include
-I/opt/MIPSpro/74/usr/include java/gjavah.c -o java/gjavah.o

and got much better results:

In file included from system.h:45,
                 from java/gjavah.c:28:
/opt/MIPSpro/74/usr/include/stdio.h:235: warning: conflicting types for built-in
function `snprintf'
/opt/MIPSpro/74/usr/include/stdio.h:244: warning: conflicting types for built-in
function `vsnprintf'
/opt/MIPSpro/74/usr/include/stdio.h:269: warning: ignoring #pragma
int_to_unsigned fread
/opt/MIPSpro/74/usr/include/stdio.h:271: warning: ignoring #pragma
int_to_unsigned fwrite
In file included from /opt/MIPSpro/74/usr/include/ulocks.h:295,
                 from /opt/MIPSpro/74/usr/include/malloc.h:85,
                 from system.h:313,
                 from java/gjavah.c:28:
/opt/MIPSpro/74/usr/include/task.h:123: warning: function declaration isn't a
prototype


Is there a way to tell gcc to look in /opt/MIPSpro/74/usr/include 
as the last resort?

Thanks,
Rob


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]