1 | /* Definitions for Linux |
---|
2 | Copyright (C) 1995 Free Software Foundation, Inc. |
---|
3 | Contributed by H.J. Lu (hjl@nynexst.com) |
---|
4 | |
---|
5 | This file is part of GNU CC. |
---|
6 | |
---|
7 | GNU CC is free software; you can redistribute it and/or modify |
---|
8 | it under the terms of the GNU General Public License as published by |
---|
9 | the Free Software Foundation; either version 2, or (at your option) |
---|
10 | any later version. |
---|
11 | |
---|
12 | GNU CC is distributed in the hope that it will be useful, |
---|
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
15 | GNU General Public License for more details. |
---|
16 | |
---|
17 | You should have received a copy of the GNU General Public License |
---|
18 | along with GNU CC; see the file COPYING. If not, write to |
---|
19 | the Free Software Foundation, 59 Temple Place - Suite 330, |
---|
20 | Boston, MA 02111-1307, USA. */ |
---|
21 | |
---|
22 | /* Don't assume anything about the header files. */ |
---|
23 | #define NO_IMPLICIT_EXTERN_C |
---|
24 | |
---|
25 | #undef HAVE_ATEXIT |
---|
26 | #define HAVE_ATEXIT |
---|
27 | |
---|
28 | /* Linux uses ctype from glibc.a. I am not sure how complete it is. |
---|
29 | For now, we play safe. It may change later. */ |
---|
30 | |
---|
31 | #if 0 |
---|
32 | #undef MULTIBYTE_CHARS |
---|
33 | #define MULTIBYTE_CHARS 1 |
---|
34 | #endif |
---|
35 | |
---|
36 | #undef STARTFILE_SPEC |
---|
37 | #define STARTFILE_SPEC "%{pg:gcrt0.o%s} %{!pg:%{p:gcrt0.o%s} %{!p:crt0.o%s}} %{static:-static}" |
---|
38 | |
---|
39 | /* There are conflicting reports about whether this system uses |
---|
40 | a different assembler syntax. wilson@cygnus.com says # is right. */ |
---|
41 | #undef COMMENT_BEGIN |
---|
42 | #define COMMENT_BEGIN "#" |
---|
43 | |
---|
44 | #undef ASM_APP_ON |
---|
45 | #define ASM_APP_ON "#APP\n" |
---|
46 | |
---|
47 | #undef ASM_APP_OFF |
---|
48 | #define ASM_APP_OFF "#NO_APP\n" |
---|
49 | |
---|
50 | /* We need that too. */ |
---|
51 | #define HANDLE_SYSV_PRAGMA |
---|