OSDN Git Service

authorrobertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Mar 1999 10:28:29 +0000 (10:28 +0000)
committerrobertl <robertl@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Mar 1999 10:28:29 +0000 (10:28 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26039 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/sysv5.h [new file with mode: 0644]
gcc/config/i386/udk.h

diff --git a/gcc/config/i386/sysv5.h b/gcc/config/i386/sysv5.h
new file mode 100644 (file)
index 0000000..9d6b7a5
--- /dev/null
@@ -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}}"
index 3b93ebc..2714e6d 100644 (file)
@@ -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/" 
 #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