1 /* Definitions of target machine for GNU compiler
2 for an Intel i386 or later processor running OS/2 2.x.
3 Copyright (C) 1993, 1994, 1995 Free Software Foundation, Inc.
4 Contributed by Samuel Figueroa (figueroa@cs.nyu.edu)
6 This file is part of GNU CC.
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)
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.
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. */
23 #ifndef DEFAULT_TARGET_MACHINE
24 #define DEFAULT_TARGET_MACHINE "i386-os2"
27 #define LINK_SPEC "/st:1048576/pm:vio/noi/a:16/e/bas:65536/nol"
30 #define LIB_SPEC "libgcc libc"
32 #ifndef STARTFILE_SPEC
33 #define STARTFILE_SPEC "libcrt.lib"
35 #ifndef MD_EXEC_PREFIX
36 #define MD_EXEC_PREFIX "\\gcc\\bin\\"
38 #ifndef STANDARD_STARTFILE_PREFIX
39 #define STANDARD_STARTFILE_PREFIX "\\gcc\\lib\\"
41 #ifndef LOCAL_INCLUDE_DIR
42 #define LOCAL_INCLUDE_DIR "\\gcc\\include"
45 #define YES_UNDERSCORES
46 #include "i386/gstabs.h"
50 #define BIGGEST_FIELD_ALIGNMENT \
51 (maximum_field_alignment ? maximum_field_alignment : 32)
53 extern int maximum_field_alignment
;
55 #undef PCC_BITFIELD_TYPE_MATTERS
56 #define PCC_BITFIELD_TYPE_MATTERS (maximum_field_alignment == 0)
58 /* Define this macro if it is advisable to hold scalars in registers
59 in a wider mode than that declared by the program. In such cases,
60 the value is constrained to be within the bounds of the declared
61 type, but kept valid in the wider mode. The signedness of the
62 extension may differ from that of the type. */
64 #define PROMOTE_MODE(MODE,UNSIGNEDP,TYPE) \
65 if (GET_MODE_CLASS (MODE) == MODE_INT \
66 && GET_MODE_SIZE (MODE) < UNITS_PER_WORD) \
69 /* Define this if function arguments should also be promoted using the above
72 #define PROMOTE_FUNCTION_ARGS
74 /* Likewise, if the function return value is promoted. */
76 #define PROMOTE_FUNCTION_RETURN