diff options
author | Loren J. Rittle <ljrittle@acm.org> | 2001-05-22 19:23:33 +0000 |
---|---|---|
committer | Loren J. Rittle <ljrittle@gcc.gnu.org> | 2001-05-22 19:23:33 +0000 |
commit | 9e405fe52ee14ad3cdcfe1e535225c384436398e (patch) | |
tree | 90a262a3c4592147d39cad218defbbf896d0022a /gcc/config/freebsd-nthr.h | |
parent | 28b6b31799b98a58f7407a3135c506f63b3a0df3 (diff) | |
download | gcc-9e405fe52ee14ad3cdcfe1e535225c384436398e.zip gcc-9e405fe52ee14ad3cdcfe1e535225c384436398e.tar.gz gcc-9e405fe52ee14ad3cdcfe1e535225c384436398e.tar.bz2 |
config.gcc (the unlabeled system switch statement): Add generic configuration section to handle *-*-freebsd*.
* config.gcc (the unlabeled system switch statement): Add
generic configuration section to handle *-*-freebsd*. Also,
to match the system compiler, default to threading support (it
may be disabled with the standard --disable-threads
configuration-time switch).
(i[34567]86-*-freebsd* in machine-specific section): Use it.
(alpha*-*-freebsd* in machine-specific section): Likewise.
* config/freebsd3.h: New file to expose FBSD_MAJOR macro (3).
* config/freebsd4.h: New file to expose FBSD_MAJOR macro (4).
* config/freebsd5.h: New file to expose FBSD_MAJOR macro (5).
* config/freebsd6.h: New file to expose FBSD_MAJOR macro (6).
* config/freebsd-nthr.h: New file to expose FBSD_NO_THREADS macro.
Co-Authored-By: David O'Brien <obrien@freebsd.org>
From-SVN: r42463
Diffstat (limited to 'gcc/config/freebsd-nthr.h')
-rw-r--r-- | gcc/config/freebsd-nthr.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gcc/config/freebsd-nthr.h b/gcc/config/freebsd-nthr.h new file mode 100644 index 0000000..2f1d65f --- /dev/null +++ b/gcc/config/freebsd-nthr.h @@ -0,0 +1,22 @@ +/* FreeBSD configuration setting for FreeBSD systems. + Copyright (C) 2001 Free Software Foundation, Inc. + Contributed by Loren J. Rittle <ljrittle@acm.org> + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ + +#define FBSD_NO_THREADS |