This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/12611] Gcc doesn't handle SGI's modularized compiler setup
- From: "rrr6399 at futuretek dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2003 03:08:24 -0000
- Subject: [Bug bootstrap/12611] Gcc doesn't handle SGI's modularized compiler setup
- References: <20031014025253.12611.rrr6399@futuretek.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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