built-in declaration conflicts on SunOS & VxWorks targets (patch)

Mike Stump mrs@wrs.com
Thu Feb 19 16:50:00 GMT 1998


> Date: Thu, 19 Feb 1998 01:17:35 -0700
> From: Jeffrey A Law <law@hurl.cygnus.com>

> Brad found his problem, so this change should not be needed, correct?

Yes, I took a look at what fixincludes does, and it solves the
problem, however the file is still useful.  There will be more put
into the file overtime anyway, the below is just one that comes to
mind.

1998-02-18  Mike Stump  <mrs@wrs.com>

	* configure.in: Add support for i386-wrs-vxworks configuration.
	* i386/vxi386.h: New file.
	
Doing diffs in gcc:
*** configure.in.~1~	Thu Feb 19 13:42:58 1998
--- configure.in	Thu Feb 19 15:34:31 1998
*************** for machine in $build $host $target; do
*** 743,748 ****
--- 743,752 ----
  		tm_file=i386/sun.h
  		use_collect2=yes
  		;;
+ 	i[[3456]]86-wrs-vxworks*)
+ 		tm_file=i386/vxi386.h
+ 		tmake_file=i386/t-i386bare
+ 		;;
  	i[[3456]]86-*-aout*)
  		tm_file=i386/i386-aout.h
  		tmake_file=i386/t-i386bare
--------------
Doing diffs in config/i386/vxi386.h.~1~:
*** config/i386/vxi386.h.~1~	Wed Feb 18 13:41:08 1998
--- config/i386/vxi386.h	Thu Feb 19 16:29:15 1998
***************
*** 0 ****
--- 1,23 ----
+ /* Definitions of target machine for GNU compiler.  VxWorks i386 version.
+    Copyright (C) 1998 Free Software Foundation, Inc.
+ 
+ This file is part of GNU CC.
+ 
+ GNU CC is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+ 
+ GNU CC is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ 
+ You should have received a copy of the GNU General Public License
+ along with GNU CC; see the file COPYING.  If not, write to
+ the Free Software Foundation, 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.  */
+ 
+ #include "i386/i386-aout.h"
+ 
+ #define HANDLE_SYSV_PRAGMA
--------------



More information about the Gcc-bugs mailing list