From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31477 invoked by alias); 14 Oct 2003 03:08:25 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 31470 invoked by uid 48); 14 Oct 2003 03:08:24 -0000 Date: Tue, 14 Oct 2003 03:08:00 -0000 Message-ID: <20031014030824.31469.qmail@sources.redhat.com> From: "rrr6399 at futuretek dot com" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20031014025253.12611.rrr6399@futuretek.com> References: <20031014025253.12611.rrr6399@futuretek.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug bootstrap/12611] Gcc doesn't handle SGI's modularized compiler setup X-Bugzilla-Reason: CC X-SW-Source: 2003-10/txt/msg00932.txt.bz2 List-Id: 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