freebsd.h (53179) | freebsd.h (54807) |
---|---|
1/* Base configuration file for all FreeBSD targets. 2 Copyright (C) 1999 Free Software Foundation, Inc. 3 4This file is part of GNU CC. 5 6GNU CC 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) --- 10 unchanged lines hidden (view full) --- 19Boston, MA 02111-1307, USA. */ 20 21/* Common FreeBSD configuration. 22 All FreeBSD architectures should include this file, which will specify 23 their commonalities. 24 Adapted from /usr/src/contrib/gcc/config/i386/freebsd.h & 25 egcs/gcc/config/i386/freebsd-elf.h version by David O'Brien */ 26 | 1/* Base configuration file for all FreeBSD targets. 2 Copyright (C) 1999 Free Software Foundation, Inc. 3 4This file is part of GNU CC. 5 6GNU CC 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) --- 10 unchanged lines hidden (view full) --- 19Boston, MA 02111-1307, USA. */ 20 21/* Common FreeBSD configuration. 22 All FreeBSD architectures should include this file, which will specify 23 their commonalities. 24 Adapted from /usr/src/contrib/gcc/config/i386/freebsd.h & 25 egcs/gcc/config/i386/freebsd-elf.h version by David O'Brien */ 26 |
27/* $FreeBSD: head/contrib/gcc/config/freebsd.h 53179 1999-11-15 07:57:13Z obrien $ */ | 27/* $FreeBSD: head/contrib/gcc/config/freebsd.h 54807 1999-12-19 06:42:24Z obrien $ */ |
28 29 30/* Don't assume anything about the header files. */ 31#undef NO_IMPLICIT_EXTERN_C 32#define NO_IMPLICIT_EXTERN_C 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 --- 17 unchanged lines hidden (view full) --- 53 54#undef WORD_SWITCH_TAKES_ARG 55#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR)) 56 57/* Place spaces around this string. We depend on string splicing to produce 58 the final CPP_PREDEFINES value. */ 59#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__=4 -D__FreeBSD_cc_version=400003 -Asystem(unix) -Asystem(FreeBSD) " 60 | 28 29 30/* Don't assume anything about the header files. */ 31#undef NO_IMPLICIT_EXTERN_C 32#define NO_IMPLICIT_EXTERN_C 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 --- 17 unchanged lines hidden (view full) --- 53 54#undef WORD_SWITCH_TAKES_ARG 55#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR)) 56 57/* Place spaces around this string. We depend on string splicing to produce 58 the final CPP_PREDEFINES value. */ 59#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__=4 -D__FreeBSD_cc_version=400003 -Asystem(unix) -Asystem(FreeBSD) " 60 |
61#define FBSD_CPP_SPEC "\ 62 %(cpp_cpu) \ 63 %{!maout: -D__ELF__} \ 64 %{munderscores: -D__UNDERSCORES__} \ 65 %{maout: %{!mno-underscores: -D__UNDERSCORES__}} \ 66 %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \ 67 %{posix:-D_POSIX_SOURCE}" 68 69#undef CPP_SPEC 70#define CPP_SPEC FBSD_CPP_SPEC 71 |
|
61/* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate 62 libc, depending on whether we're doing profiling. 63 (like the default, except no -lg, and no -p). */ 64#undef LIB_SPEC 65#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" 66 67 68/* Code generation parameters. */ --- 30 unchanged lines hidden --- | 72/* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate 73 libc, depending on whether we're doing profiling. 74 (like the default, except no -lg, and no -p). */ 75#undef LIB_SPEC 76#define LIB_SPEC "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}" 77 78 79/* Code generation parameters. */ --- 30 unchanged lines hidden --- |