freebsd.h (LIB_SPEC): Key the exact setting to configure-time options and target...
authorLoren J. Rittle <ljrittle@acm.org>
Tue, 22 May 2001 19:28:15 +0000 (19:28 +0000)
committerLoren J. Rittle <ljrittle@gcc.gnu.org>
Tue, 22 May 2001 19:28:15 +0000 (19:28 +0000)
commit766a4175b12e77540da5a39482d1cd3e4beb81ff
tree4f02300804e0911e677d07ff67301cd3d153605e
parent9e405fe52ee14ad3cdcfe1e535225c384436398e
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
gcc/ChangeLog
gcc/config/alpha/freebsd.h
gcc/config/freebsd.h
gcc/config/i386/freebsd.h