1/* $Id: freebsd.h,v 1.9 1999/04/27 15:43:56 obrien Exp $ */ |
2/* Base configuration file for all FreeBSD targets. 3 Copyright (C) 1999 Free Software Foundation, Inc. 4 5This file is part of GNU CC. 6 7GNU CC is free software; you can redistribute it and/or modify 8it under the terms of the GNU General Public License as published by 9the Free Software Foundation; either version 2, or (at your option) --- 15 unchanged lines hidden (view full) --- 25 Adapted from /usr/src/contrib/gcc/config/i386/freebsd.h & 26 egcs/gcc/config/i386/freebsd-elf.h version by David O'Brien */ 27 28 29/* Don't assume anything about the header files. */ 30#undef NO_IMPLICIT_EXTERN_C 31#define NO_IMPLICIT_EXTERN_C 32 |
33/* This defines which switch letters take arguments. On FreeBSD, most of |
34 the normal cases (defined in gcc.c) apply, and we also have -h* and |
35 -z* options (for the linker) (comming from svr4). 36 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */ |
37 38#define FBSD_SWITCH_TAKES_ARG(CHAR) \ |
39 (DEFAULT_SWITCH_TAKES_ARG (CHAR) \ |
40 || (CHAR) == 'h' \ 41 || (CHAR) == 'z' /* ignored by ld */ \ 42 || (CHAR) == 'R') 43 44#define FBSD_WORD_SWITCH_TAKES_ARG(STR) \ 45 (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \ 46 || !strcmp (STR, "rpath") || !strcmp (STR, "rpath-link") \ 47 || !strcmp (STR, "soname") || !strcmp (STR, "defsym") \ --- 85 unchanged lines hidden --- |