pkgsrc/cross/i386-netbsdpe/patches/patch-co
kent f36b17368a update based gcc and binutils.
- gcc 2.95.2 -> 3.3.3
 - binutils 030425 -> 2.15.90 (20040222)
2004-03-09 12:19:12 +00:00

23 lines
868 B
Text

$NetBSD: patch-co,v 1.2 2004/03/09 12:19:12 kent Exp $
--- gcc/config.gcc.orig2 2003-10-26 04:46:27.000000000 +0900
+++ gcc/config.gcc
@@ -1139,6 +1139,18 @@ x86_64-*-freebsd*)
i[34567]86-*-netbsdelf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-elf.h i386/netbsd-elf.h"
;;
+i[34567]86-*-netbsdpe*)
+ tm_file="i386/cygming.h i386/netbsdpe.h"
+ xm_defines=POSIX
+ xm_file=i386/xm-mingw32.h
+ xmake_file=i386/x-mingw32
+ tmake_file="i386/t-netbsdpe"
+ extra_objs=winnt.o
+ target_cpu_default=TARGET_CPU_DEFAULT_pentiumpro
+ if test x$enable_threads = xyes; then
+ thread_file='posix'
+ fi
+ ;;
i[34567]86-*-netbsd*)
tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h netbsd.h netbsd-aout.h i386/netbsd.h"
tmake_file=t-netbsd