From c31b698381547736e1a07b606ca24e8e6eb9a074 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Sun, 28 Mar 1999 10:28:29 +0000 Subject: [PATCH] sysv5.h: New file to describe UnixWare7/SVR5. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit � * 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 --- gcc/config/i386/sysv5.h | 32 ++++++++++++++++++++++++++++++++ gcc/config/i386/udk.h | 7 +------ 2 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 gcc/config/i386/sysv5.h diff --git a/gcc/config/i386/sysv5.h b/gcc/config/i386/sysv5.h new file mode 100644 index 00000000000..9d6b7a56e68 --- /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 3b93ebcb6a6..2714e6da1be 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 -- 2.30.2