1 /* Base configuration file for all FreeBSD targets. 2 Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. 3 4 This file is part of GCC. 5 6 GCC is free software; you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) 9 any later version. 10 11 GCC is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with GCC; see the file COPYING. If not, write to 18 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 19 Boston, MA 02110-1301, USA. */ 20 21 /* Common MINIX configuration. 22 All FreeBSD architectures should include this file, which will specify 23 their commonalities. 24 */ 25 26 /* In case we need to know. */ 27 #define USING_CONFIG_MINIX 1 28 29 /* This defines which switch letters take arguments. On MINIX, most of 30 the normal cases (defined in gcc.c) apply, and we also have -h* and 31 -z* options (for the linker) (coming from SVR4). 32 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */ 33 34 #undef SWITCH_TAKES_ARG 35 #define SWITCH_TAKES_ARG(CHAR) (MINIX_SWITCH_TAKES_ARG(CHAR)) 36 37 #undef WORD_SWITCH_TAKES_ARG 38 #define WORD_SWITCH_TAKES_ARG(STR) (MINIX_WORD_SWITCH_TAKES_ARG(STR)) 39 40 #undef TARGET_OS_CPP_BUILTINS 41 #define TARGET_OS_CPP_BUILTINS() MINIX_TARGET_OS_CPP_BUILTINS() 42 43 #undef CPP_SPEC 44 #define CPP_SPEC MINIX_CPP_SPEC 45 46 #undef STARTFILE_SPEC 47 #define STARTFILE_SPEC MINIX_STARTFILE_SPEC 48 49 #undef ENDFILE_SPEC 50 #define ENDFILE_SPEC MINIX_ENDFILE_SPEC 51 52 #undef LIB_SPEC 53 #define LIB_SPEC MINIX_LIB_SPEC 54 55 #undef LINK_SPEC 56 #define LINK_SPEC MINIX_LINK_SPEC 57 58 #undef SUBTARGET_EXTRA_SPECS 59 #define SUBTARGET_EXTRA_SPECS MINIX_SUBTARGET_EXTRA_SPECS 60 61 #undef SUBTARGET_CPP_SPEC 62 #define SUBTARGET_CPP_SPEC MINIX_CPP_SPEC 63 64 /************************[ Target stuff ]***********************************/ 65 66 /* All MINIX Architectures support the ELF object file format. */ 67 #undef OBJECT_FORMAT_ELF 68 #define OBJECT_FORMAT_ELF 69 70 /* Don't assume anything about the header files. */ 71 #undef NO_IMPLICIT_EXTERN_C 72 #define NO_IMPLICIT_EXTERN_C 1 73 74 /* Code generation parameters. */ 75 76 /* Use periods rather than dollar signs in special g++ assembler names. 77 This ensures the configuration knows our system correctly so we can link 78 with libraries compiled with the native cc. */ 79 #undef NO_DOLLAR_IN_LABEL 80 81