- gcc: Add -fsingle-precision-constant option - gcc: Apply franken-gcc patch of Mozilla.org - ld: Add -fgc-dynstr As for pkgsrc, C++ compiler is removed because it is not used for kernel compilation.
35 lines
1 KiB
Text
35 lines
1 KiB
Text
$NetBSD: gcc-aa,v 1.2 2002/05/15 14:03:28 kent Exp $
|
|
|
|
--- gcc/configure.orig Wed Apr 24 15:23:36 2002
|
|
+++ gcc/configure
|
|
@@ -2947,6 +2947,10 @@
|
|
sparc*-*-*)
|
|
cpu_type=sparc
|
|
;;
|
|
+ algor-*-netbsd* | arc-*-netbsd* | cobalt-*-netbsd* | hpcmips-*-netbsd* | playstation2-*-netbsd* | pmax-*-netbsd*)
|
|
+ cpu_type=mips
|
|
+ machine=mipsel-unknown-netbsd
|
|
+ ;;
|
|
esac
|
|
|
|
tm_file=${cpu_type}/${cpu_type}.h
|
|
@@ -4682,9 +4686,19 @@
|
|
fi
|
|
;;
|
|
mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
|
|
+ xmake_file=x-netbsd
|
|
tm_file=mips/netbsd.h
|
|
# On NetBSD, the headers are already okay, except for math.h.
|
|
tmake_file=t-netbsd
|
|
+ ;;
|
|
+ mipsEEel-*-netbsd*) # for NetBSD/PlayStation2, incomplete!!
|
|
+ xmake_file=x-linux # Oops
|
|
+ xm_file="xm-siglist.h ${xm_file}"
|
|
+ tmake_file="mips/t-eelinux" #
|
|
+ tm_file="mips/elfl.h mips/eenetbsd.h"
|
|
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
|
|
+ gnu_ld=yes
|
|
+ gas=yes
|
|
;;
|
|
mipsEE*-*-linux*) # MIPS EE w/ Linux & ELF
|
|
xmake_file=x-linux
|