OSDN Git Service

2010-04-06 Kai Tietz <kai.tietz@onevision.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / i386 / mach.h
1 /* Configuration for an i386 running Mach as the target machine.
2
3 Copyright (C) 1992, 1993, 1997, 1998, 2000, 2001,
4 2002 Free Software Foundation, Inc.
5
6 This file is part of GCC.
7
8 GCC is free software; you can redistribute it and/or modify it under
9 the terms of the GNU General Public License as published by the Free
10 Software Foundation; either version 3, or (at your option) any later
11 version.
12
13 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14 WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
16 for more details.
17
18 Under Section 7 of GPL version 3, you are granted additional
19 permissions described in the GCC Runtime Library Exception, version
20 3.1, as published by the Free Software Foundation.
21
22 You should have received a copy of the GNU General Public License and
23 a copy of the GCC Runtime Library Exception along with this program;
24 see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
25 <http://www.gnu.org/licenses/>.  */
26
27 #define TARGET_VERSION fprintf (stderr, " (80386, Mach)"); 
28
29 #define TARGET_OS_CPP_BUILTINS()                \
30   do                                            \
31     {                                           \
32         builtin_define_std ("unix");            \
33         builtin_define_std ("MACH");            \
34         builtin_assert ("system=unix");         \
35         builtin_assert ("system=mach");         \
36     }                                           \
37   while (0)
38
39 /* Specify extra dir to search for include files.  */
40 #define SYSTEM_INCLUDE_DIR "/usr/mach/include"
41
42 /* Don't default to pcc-struct-return, because gcc is the only compiler, and
43    we want to retain compatibility with older gcc versions.  */
44 #define DEFAULT_PCC_STRUCT_RETURN 0