54eef932ca
* pa/pa-gas.h (DBX_DEBUGGING_INFO): Remove all #define and #undef statements related to debugging information. * pa/pa-hpux.h, pa-hpux7.h: Likewise * pa/pa.c (override_options): Disable "-g" and issue a warning if it's used when !TARGET_GAS. From-SVN: r12694
50 lines
1.8 KiB
C
50 lines
1.8 KiB
C
/* Definitions of target machine for GNU compiler, for HP-UX.
|
|
Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc.
|
|
|
|
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. */
|
|
|
|
#undef TARGET_DEFAULT
|
|
#define TARGET_DEFAULT 0
|
|
|
|
/* Make GCC agree with types.h. */
|
|
#undef SIZE_TYPE
|
|
#undef PTRDIFF_TYPE
|
|
|
|
#define SIZE_TYPE "unsigned int"
|
|
#define PTRDIFF_TYPE "int"
|
|
|
|
/* Like the default, except no -lg. */
|
|
#undef LIB_SPEC
|
|
#define LIB_SPEC "%{!shared:%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}}"
|
|
|
|
#undef CPP_PREDEFINES
|
|
#define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa)"
|
|
|
|
#undef LINK_SPEC
|
|
#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
|
|
#define LINK_SPEC \
|
|
"%{!mpa-risc-1-0:%{!shared:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
|
|
#else
|
|
#define LINK_SPEC \
|
|
"%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
|
|
#endif
|
|
|
|
/* hpux8 and later have C++ compatible include files, so do not
|
|
pretend they are `extern "C"'. */
|
|
#define NO_IMPLICIT_EXTERN_C
|