freebsd.h (169706) | freebsd.h (182627) |
---|---|
1/* Base configuration file for all FreeBSD targets. 2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify 7it under the terms of the GNU General Public License as published by 8the Free Software Foundation; either version 2, or (at your option) --- 12 unchanged lines hidden (view full) --- 21/* Common FreeBSD configuration. 22 All FreeBSD architectures should include this file, which will specify 23 their commonalities. 24 Adapted from gcc/config/i386/freebsd-elf.h by 25 David O'Brien <obrien@FreeBSD.org>. 26 Further work by David O'Brien <obrien@FreeBSD.org> and 27 Loren J. Rittle <ljrittle@acm.org>. */ 28 | 1/* Base configuration file for all FreeBSD targets. 2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc. 3 4This file is part of GCC. 5 6GCC is free software; you can redistribute it and/or modify 7it under the terms of the GNU General Public License as published by 8the Free Software Foundation; either version 2, or (at your option) --- 12 unchanged lines hidden (view full) --- 21/* Common FreeBSD configuration. 22 All FreeBSD architectures should include this file, which will specify 23 their commonalities. 24 Adapted from gcc/config/i386/freebsd-elf.h by 25 David O'Brien <obrien@FreeBSD.org>. 26 Further work by David O'Brien <obrien@FreeBSD.org> and 27 Loren J. Rittle <ljrittle@acm.org>. */ 28 |
29/* $FreeBSD: head/contrib/gcc/config/freebsd.h 169706 2007-05-19 02:30:20Z kan $ */ | 29/* $FreeBSD: head/contrib/gcc/config/freebsd.h 182627 2008-09-01 18:46:03Z obrien $ */ |
30 31/* In case we need to know. */ 32#define USING_CONFIG_FREEBSD 1 33 34/* This defines which switch letters take arguments. On FreeBSD, most of 35 the normal cases (defined in gcc.c) apply, and we also have -h* and 36 -z* options (for the linker) (coming from SVR4). 37 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */ --- 20 unchanged lines hidden (view full) --- 58#define LIB_SPEC FBSD_LIB_SPEC 59 60 61/************************[ Target stuff ]***********************************/ 62 63/* All FreeBSD Architectures support the ELF object file format. */ 64#undef OBJECT_FORMAT_ELF 65#define OBJECT_FORMAT_ELF 1 | 30 31/* In case we need to know. */ 32#define USING_CONFIG_FREEBSD 1 33 34/* This defines which switch letters take arguments. On FreeBSD, most of 35 the normal cases (defined in gcc.c) apply, and we also have -h* and 36 -z* options (for the linker) (coming from SVR4). 37 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */ --- 20 unchanged lines hidden (view full) --- 58#define LIB_SPEC FBSD_LIB_SPEC 59 60 61/************************[ Target stuff ]***********************************/ 62 63/* All FreeBSD Architectures support the ELF object file format. */ 64#undef OBJECT_FORMAT_ELF 65#define OBJECT_FORMAT_ELF 1 |
66#define TARGET_ELF 1 |
|
66 67/* Don't assume anything about the header files. */ 68#undef NO_IMPLICIT_EXTERN_C 69#define NO_IMPLICIT_EXTERN_C 1 70 71/* Make gcc agree with FreeBSD's standard headers (<machine/ansi.h>, etc...) */ | 67 68/* Don't assume anything about the header files. */ 69#undef NO_IMPLICIT_EXTERN_C 70#define NO_IMPLICIT_EXTERN_C 1 71 72/* Make gcc agree with FreeBSD's standard headers (<machine/ansi.h>, etc...) */ |
73#undef SIZE_TYPE 74#define SIZE_TYPE FBSD_SIZE_TYPE 75#undef PTRDIFF_TYPE 76#define PTRDIFF_TYPE FBSD_PTRDIFF_TYPE |
|
72 73#undef WCHAR_TYPE 74#define WCHAR_TYPE "int" | 77 78#undef WCHAR_TYPE 79#define WCHAR_TYPE "int" |
80#undef WCHAR_TYPE_SIZE 81#define WCHAR_TYPE_SIZE 32 82#undef WINT_TYPE 83#define WINT_TYPE "int" 84#undef WINT_TYPE_SIZE 85#define WINT_TYPE_SIZE 32 |
|
75 76#ifdef FREEBSD_NATIVE 77#define LIBSTDCXX_PROFILE "-lstdc++_p" 78#endif 79#define MATH_LIBRARY_PROFILE "-lm_p" 80 81/* Code generation parameters. */ 82 83/* Writing `int' for a bitfield forces int alignment for the structure. */ 84/* XXX: ok for Alpha?? */ 85#undef PCC_BITFIELD_TYPE_MATTERS 86#define PCC_BITFIELD_TYPE_MATTERS 1 87 88/* Use periods rather than dollar signs in special g++ assembler names. 89 This ensures the configuration knows our system correctly so we can link 90 with libraries compiled with the native cc. */ 91#undef NO_DOLLAR_IN_LABEL 92 93/* Define this so we can compile MS code for use with WINE. */ | 86 87#ifdef FREEBSD_NATIVE 88#define LIBSTDCXX_PROFILE "-lstdc++_p" 89#endif 90#define MATH_LIBRARY_PROFILE "-lm_p" 91 92/* Code generation parameters. */ 93 94/* Writing `int' for a bitfield forces int alignment for the structure. */ 95/* XXX: ok for Alpha?? */ 96#undef PCC_BITFIELD_TYPE_MATTERS 97#define PCC_BITFIELD_TYPE_MATTERS 1 98 99/* Use periods rather than dollar signs in special g++ assembler names. 100 This ensures the configuration knows our system correctly so we can link 101 with libraries compiled with the native cc. */ 102#undef NO_DOLLAR_IN_LABEL 103 104/* Define this so we can compile MS code for use with WINE. */ |
94#define HANDLE_PRAGMA_PACK_PUSH_POP | 105#define HANDLE_PRAGMA_PACK_PUSH_POP 1 |
95 96#define TARGET_POSIX_IO | 106 107#define TARGET_POSIX_IO |