summaryrefslogtreecommitdiff
path: root/gcc/config/netbsd.h
diff options
context:
space:
mode:
authormeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-13 20:24:19 +0000
committermeissner <meissner@138bc75d-0d04-0410-961f-82ee72b054a4>1995-02-13 20:24:19 +0000
commitb5ef522f568d2908b1a9432b78e3f5f19aa9e2c4 (patch)
treeaaa27e9527fc6c971154990f1949b7679a6d7b57 /gcc/config/netbsd.h
parentfc630b382ecc5cefee5277c48b73135617f15ae4 (diff)
downloadgcc-b5ef522f568d2908b1a9432b78e3f5f19aa9e2c4.tar.gz
Add test for NETBSD_NATIVE
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@8934 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/netbsd.h')
-rw-r--r--gcc/config/netbsd.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/gcc/config/netbsd.h b/gcc/config/netbsd.h
index 8961ca9a2ff..af4f62ebe91 100644
--- a/gcc/config/netbsd.h
+++ b/gcc/config/netbsd.h
@@ -1,3 +1,9 @@
+/* NETBSD_NATIVE is defined when gcc is integrated into the NetBSD
+ source tree so it can be configured appropriately without using
+ the GNU configure/build mechanism. */
+
+#ifdef NETBSD_NATIVE
+
/* Look for the include files in the system-defined places. */
#undef GPLUSPLUS_INCLUDE_DIR
@@ -14,18 +20,19 @@
{ 0, 0, 0 } \
}
+/* Under NetBSD, the normal location of the compiler back ends is the
+ /usr/libexec directory. */
-/* Under NetBSD, the normal location of the `ld' and `as' programs is the
- /usr/bin directory. */
-
-#undef MD_EXEC_PREFIX
-#define MD_EXEC_PREFIX "/usr/bin/"
+#undef STANDARD_EXEC_PREFIX
+#define STANDARD_EXEC_PREFIX "/usr/libexec/"
/* Under NetBSD, the normal location of the various *crt*.o files is the
/usr/lib directory. */
-#undef MD_STARTFILE_PREFIX
-#define MD_STARTFILE_PREFIX "/usr/lib/"
+#undef STANDARD_STARTFILE_PREFIX
+#define STANDARD_STARTFILE_PREFIX "/usr/lib/"
+
+#endif
/* Provide a CPP_SPEC appropriate for NetBSD. Current we just deal with