aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRobert Lipe <robertl@gcc.gnu.org>1999-03-28 10:28:29 +0000
committerRobert Lipe <robertl@gcc.gnu.org>1999-03-28 10:28:29 +0000
commitc31b698381547736e1a07b606ca24e8e6eb9a074 (patch)
tree4058db20a3ce49910f032cc153dc9a6844416844 /gcc/config
parent87e11b7065dcf1bd36a617f2f4ffb4d3c8068688 (diff)
downloadgcc-c31b698381547736e1a07b606ca24e8e6eb9a074.zip
gcc-c31b698381547736e1a07b606ca24e8e6eb9a074.tar.gz
gcc-c31b698381547736e1a07b606ca24e8e6eb9a074.tar.bz2
sysv5.h: New file to describe UnixWare7/SVR5.
� * i386/sysv5.h: New file to describe UnixWare7/SVR5. * configure.in (i?86-UnixWare7*-sysv): Use it. * i386/udk.h: Use sysv5.h. Now uses Dwarf-2. From-SVN: r26039
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/sysv5.h32
-rw-r--r--gcc/config/i386/udk.h7
2 files changed, 33 insertions, 6 deletions
diff --git a/gcc/config/i386/sysv5.h b/gcc/config/i386/sysv5.h
new file mode 100644
index 0000000..9d6b7a5
--- /dev/null
+++ b/gcc/config/i386/sysv5.h
@@ -0,0 +1,32 @@
+/* Definitions for Intel 386 running System V Release 5 (i.e. UnixWare 7)
+ Copyright (C) 1999 Free Software Foundation, Inc.
+ Contributed by Robert Lipe (robertlipe@usa.net)
+
+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/sysv4.h"
+
+/* Dwarf2 is supported by native debuggers */
+
+#undef PREFERRED_DEBUGGING_TYPE
+#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
+
+/* Add -lcrt for Dwarf2 abbreviation table */
+#undef LIB_SPEC
+#define LIB_SPEC "%{!shared:%{!symbolic:-lc -lcrt}}"
diff --git a/gcc/config/i386/udk.h b/gcc/config/i386/udk.h
index 3b93ebc..2714e6d 100644
--- a/gcc/config/i386/udk.h
+++ b/gcc/config/i386/udk.h
@@ -6,7 +6,7 @@
/* We're very much the SVR4 target with "/udk" prepended to everything that's
interesting */
-#include "i386/sysv4.h"
+#include "i386/sysv5.h"
#undef MD_EXEC_PREFIX
#define MD_EXEC_PREFIX "/udk/usr/ccs/bin/"
@@ -14,11 +14,6 @@
#undef MD_STARTFILE_PREFIX
#define MD_STARTFILE_PREFIX "/udk/usr/ccs/lib/"
-#if 0 /* Later. */
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#endif
-
#define STANDARD_INCLUDE_DIR "/udk/usr/include"
#undef LINK_SPEC