diff options
author | ljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-22 19:23:33 +0000 |
---|---|---|
committer | ljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-05-22 19:23:33 +0000 |
commit | 1307f5d6b3a17fdf17a9ba9ad724bcc9ac474a61 (patch) | |
tree | 90a262a3c4592147d39cad218defbbf896d0022a /gcc/config/freebsd-nthr.h | |
parent | ed684273f8bf24ead0ae7e3924d242ed5d6f7819 (diff) | |
download | gcc-1307f5d6b3a17fdf17a9ba9ad724bcc9ac474a61.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42463 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..2f1d65f4b24 --- /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 |