This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: HAVE_VPRINTF redefinition warnings for NetBSD
- To: law at cygnus dot com
- Subject: Re: HAVE_VPRINTF redefinition warnings for NetBSD
- From: Krister Walfridsson <cato at df dot lth dot se>
- Date: Fri, 4 Sep 1998 23:21:02 +0200 (MET DST)
- cc: egcs-patches at cygnus dot com
On Sun, 30 Aug 1998, Jeffrey A Law wrote:
> This was actually the last thing in the generic xm-netbsd.h file, so
> I just removed the file and changed the CPU/xm-netbsd.h files to not
> try and include it.
>
> In general, most of the stuff in the xm-* files should be handled
> by autoconf and we should be trying to remove useless xm files as
> we convert more and more things to autoconf tests.
That breaks the build, since config/xm-netbsd.h is still added to
xm_file in configure.h. And a couple of the config/*/xm-netbsd.h
files may be removed since they only contain an inclusion of
${cpu_type}/xm-${cpu_type}.h
/Krister
Fri Sep 4 22:55:23 1998 Krister Walfridsson <cato@df.lth.se>
* configure.in: Removed references to the removed file
config/xm-netbsd.h. Use ${cpu_type}/xm-netbsd.h for
arm*-*-netbsd* and ns32k-*-netbsd*.
* config/i386/xm-netbsd.h: Removed unnecessary file.
* config/m68k/xm-netbsd.h: Likewise.
* config/sparc/xm-netbsd.h: Likewise.
* config/mips/xm-netbsd.h: Likewise.
*** configure.in.bak Fri Sep 4 21:35:55 1998
--- configure.in Fri Sep 4 22:53:17 1998
*************** changequote([,])dnl
*** 448,454 ****
;;
alpha*-*-netbsd*)
tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
- xm_file="xm-netbsd.h ${xm_file}"
target_cpu_default="MASK_GAS"
tmake_file="alpha/t-crtbe"
extra_parts="crtbegin.o crtend.o"
--- 448,453 ----
*************** changequote([,])dnl
*** 557,563 ****
;;
arm*-*-netbsd*)
tm_file=arm/netbsd.h
! xm_file="xm-netbsd.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
--- 556,562 ----
;;
arm*-*-netbsd*)
tm_file=arm/netbsd.h
! xm_file="arm/xm-netbsd.h ${xm_file}"
tmake_file="t-netbsd arm/t-netbsd"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
*************** changequote(,)dnl
*** 946,952 ****
i[34567]86-*-netbsd*)
changequote([,])dnl
tm_file=i386/netbsd.h
- xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
--- 945,950 ----
*************** changequote([,])dnl
*** 1783,1789 ****
;;
m68k*-*-netbsd*)
tm_file=m68k/netbsd.h
- xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
--- 1781,1786 ----
*************** changequote([,])dnl
*** 2104,2110 ****
;;
mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
tm_file=mips/netbsd.h
- xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
--- 2101,2106 ----
*************** changequote([,])dnl
*** 2449,2455 ****
;;
ns32k-*-netbsd*)
tm_file=ns32k/netbsd.h
! xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
--- 2445,2451 ----
;;
ns32k-*-netbsd*)
tm_file=ns32k/netbsd.h
! xm_file="ns32k/xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
*************** changequote([,])dnl
*** 2756,2762 ****
;;
sparc-*-netbsd*)
tm_file=sparc/netbsd.h
- xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
--- 2752,2757 ----
*************** changequote([,])dnl
*** 2951,2957 ****
;;
vax-*-netbsd*)
tm_file="${tm_file} netbsd.h vax/netbsd.h"
- xm_file="xm-netbsd.h ${xm_file}"
# On NetBSD, the headers are already okay, except for math.h.
fixincludes=fixinc.wrap
tmake_file=t-netbsd
--- 2946,2951 ----