1992-11-09 12:33:01 -05:00
|
|
|
/* Definitions of target machine for GNU compiler, for HP-UX.
|
|
|
|
Copyright (C) 1991 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, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
|
|
|
|
#ifndef TARGET_DEFAULT
|
1992-12-12 09:39:24 -05:00
|
|
|
#define TARGET_DEFAULT 0
|
1992-11-09 12:33:01 -05:00
|
|
|
#endif
|
|
|
|
|
1993-01-05 23:53:12 -05:00
|
|
|
#include "pa/pa.h"
|
1992-04-18 13:59:35 -04:00
|
|
|
|
|
|
|
/* Make GCC agree with types.h. */
|
1992-09-17 15:09:02 -04:00
|
|
|
#undef SIZE_TYPE
|
|
|
|
#undef PTRDIFF_TYPE
|
|
|
|
|
1992-04-18 13:59:35 -04:00
|
|
|
#define SIZE_TYPE "unsigned int"
|
1992-09-17 15:09:02 -04:00
|
|
|
#define PTRDIFF_TYPE "int"
|
1992-04-18 13:59:35 -04:00
|
|
|
|
|
|
|
/* HPUX doesn't use any debugging format that GCC knows about. */
|
|
|
|
#undef DBX_DEBUGGING_INFO
|
1993-08-18 02:41:27 -04:00
|
|
|
#undef DEFAULT_GDB_EXTENSIONS
|
|
|
|
#define DEFAULT_GDB_EXTENSIONS 0
|
1992-04-18 13:59:35 -04:00
|
|
|
|
|
|
|
/* Like the default, except no -lg. */
|
1994-11-18 23:09:58 -05:00
|
|
|
#define LIB_SPEC "%{!shared:%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}}"
|
1992-04-18 13:59:35 -04:00
|
|
|
|
1992-05-10 17:16:26 -04:00
|
|
|
#undef CPP_PREDEFINES
|
1993-10-02 04:55:06 -04:00
|
|
|
#define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa)"
|
1992-10-14 10:50:17 -04:00
|
|
|
|
|
|
|
#undef LINK_SPEC
|
1994-11-18 23:09:58 -05:00
|
|
|
#define LINK_SPEC \
|
|
|
|
"%{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
|
1993-11-05 16:51:44 -05:00
|
|
|
|
1995-05-16 08:14:26 -04:00
|
|
|
/* hpux8 and later have C++ compatible include files, so do not
|
1993-11-05 16:51:44 -05:00
|
|
|
pretend they are `extern "C"'. */
|
|
|
|
#define NO_IMPLICIT_EXTERN_C
|