OSDN Git Service

libiberty:
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / xm-beos.h
1 /* Configuration for GNU C-compiler for BeOS host.
2    Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
3    Contributed by Fred Fish (fnf@cygnus.com), based on xm-rs6000.h
4    by Richard Kenner (kenner@vlsi1.ultra.nyu.edu).
5
6 This file is part of GNU CC.
7
8 GNU CC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
11 any later version.
12
13 GNU CC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with GNU CC; see the file COPYING.  If not, write to
20 the Free Software Foundation, 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA.  */
22
23 #include <i386/xm-i386.h>
24
25 /* Include <sys/wait.h> to define the exit status access macros.  */
26 #ifndef inhibit_libc
27 #include <sys/wait.h>
28 #endif
29
30 #define ONLY_INT_FIELDS
31
32 /* use ANSI/SYSV style byte manipulation routines instead of BSD ones */
33
34 #undef bcopy
35 #define bcopy(s,d,n)    memmove((d),(s),(n))
36
37 /* BeOS is closer to USG than BSD */
38
39 #define USG
40
41 /* Define various things that the BeOS host has. */
42
43 #ifndef HAVE_VPRINTF
44 #define HAVE_VPRINTF
45 #endif
46 #ifndef HAVE_PUTENV
47 #define HAVE_PUTENV
48 #endif
49 #define HAVE_RENAME
50
51 /* This is a temporary hack until the wimpy default 64k stack
52    limit in BeOS is either increased or made user settable somehow.
53    This probably won't happen until after the DR9 release.  */
54 #undef USE_C_ALLOCA
55 #define USE_C_ALLOCA 1
56