diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-05-22 19:28:15 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-05-22 19:28:15 +0000 |
commit | 766a4175b12e77540da5a39482d1cd3e4beb81ff (patch) | |
tree | 4f02300804e0911e677d07ff67301cd3d153605e /gcc/config/i386/freebsd.h | |
parent | 9e405fe52ee14ad3cdcfe1e535225c384436398e (diff) | |
download | gcc-766a4175b12e77540da5a39482d1cd3e4beb81ff.zip gcc-766a4175b12e77540da5a39482d1cd3e4beb81ff.tar.gz gcc-766a4175b12e77540da5a39482d1cd3e4beb81ff.tar.bz2 |
freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target version of FreeBSD.
* config/freebsd.h (LIB_SPEC): Key the exact setting to
configure-time options and target version of FreeBSD. Set-up
to match architectural change in threading support. Correctly
report when -pthread option is not supported by configure-time
options.
(FBSD_CPP_PREDEFINES): Move from architecture-specific files
and extend to encode target version number in run-time setting
of __FreeBSD__ macro to match the system compiler.
(CPP_PREDEFINES): Likewise.
(PREFERRED_DEBUGGING_TYPE): Change to DWARF2_DEBUG.
* config/alpha/freebsd.h (CPP_PREDEFINES): Moved to common freebsd.h.
* config/i386/freebsd.h (CPP_PREDEFINES): Likewise.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42464
Diffstat (limited to 'gcc/config/i386/freebsd.h')
-rw-r--r-- | gcc/config/i386/freebsd.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/config/i386/freebsd.h b/gcc/config/i386/freebsd.h index 6ae6235..2d34117 100644 --- a/gcc/config/i386/freebsd.h +++ b/gcc/config/i386/freebsd.h @@ -78,10 +78,6 @@ Boston, MA 02111-1307, USA. */ #undef WCHAR_TYPE_SIZE #define WCHAR_TYPE_SIZE BITS_PER_WORD -#undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dunix -D__ELF__ -D__FreeBSD__\ - -Asystem=unix -Asystem=bsd -Asystem=FreeBSD" - /* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add the magical crtbegin.o file (see crtstuff.c) which provides part of the support for getting C++ file-scope static object constructed |