Deleted Added
full compact
freebsd.h (49853) freebsd.h (49854)
1/* $Id: freebsd.h,v 1.15 1999/07/02 19:26:45 obrien Exp $ */
1/* $Id: freebsd.h,v 1.16 1999/08/15 21:59:46 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)

--- 26 unchanged lines hidden (view full) ---

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
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)

--- 26 unchanged lines hidden (view full) ---

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#undef SWITCH_TAKES_ARG
45#define SWITCH_TAKES_ARG(CHAR) (FBSD_SWITCH_TAKES_ARG(CHAR))
46
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") \
48 || !strcmp (STR, "assert") || !strcmp (STR, "dynamic-linker"))
49
47#define FBSD_WORD_SWITCH_TAKES_ARG(STR) \
48 (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \
49 || !strcmp (STR, "rpath") || !strcmp (STR, "rpath-link") \
50 || !strcmp (STR, "soname") || !strcmp (STR, "defsym") \
51 || !strcmp (STR, "assert") || !strcmp (STR, "dynamic-linker"))
52
53#undef WORD_SWITCH_TAKES_ARG
54#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
55
50/* Place spaces around this string. We depend on string splicing to produce
51 the final CPP_PREDEFINES value. */
52#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -Asystem(unix) -Asystem(FreeBSD) "
53
54/* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
55 libc, depending on whether we're doing profiling.
56 (like the default, except no -lg, and no -p). */
57#undef LIB_SPEC

--- 31 unchanged lines hidden ---
56/* Place spaces around this string. We depend on string splicing to produce
57 the final CPP_PREDEFINES value. */
58#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__=4 -D__FreeBSD_cc_version=400002 -Asystem(unix) -Asystem(FreeBSD) "
59
60/* Provide a LIB_SPEC appropriate for FreeBSD. Just select the appropriate
61 libc, depending on whether we're doing profiling.
62 (like the default, except no -lg, and no -p). */
63#undef LIB_SPEC

--- 31 unchanged lines hidden ---