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 | |
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')
-rw-r--r-- | gcc/config/freebsd-nthr.h | 22 | ||||
-rw-r--r-- | gcc/config/freebsd3.h | 22 | ||||
-rw-r--r-- | gcc/config/freebsd4.h | 22 | ||||
-rw-r--r-- | gcc/config/freebsd5.h | 22 | ||||
-rw-r--r-- | gcc/config/freebsd6.h | 22 |
5 files changed, 110 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 diff --git a/gcc/config/freebsd3.h b/gcc/config/freebsd3.h new file mode 100644 index 0000000..7b5426f --- /dev/null +++ b/gcc/config/freebsd3.h @@ -0,0 +1,22 @@ +/* FreeBSD version number setting for FreeBSD 3.x systems. + Copyright (C) 2001 Free Software Foundation, Inc. + Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. + +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_MAJOR 3 diff --git a/gcc/config/freebsd4.h b/gcc/config/freebsd4.h new file mode 100644 index 0000000..ec2ae47 --- /dev/null +++ b/gcc/config/freebsd4.h @@ -0,0 +1,22 @@ +/* FreeBSD version number setting for FreeBSD 4.x systems. + Copyright (C) 2001 Free Software Foundation, Inc. + Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. + +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_MAJOR 4 diff --git a/gcc/config/freebsd5.h b/gcc/config/freebsd5.h new file mode 100644 index 0000000..3c276d5 --- /dev/null +++ b/gcc/config/freebsd5.h @@ -0,0 +1,22 @@ +/* FreeBSD version number setting for FreeBSD 5.x systems. + Copyright (C) 2001 Free Software Foundation, Inc. + Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. + +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_MAJOR 5 diff --git a/gcc/config/freebsd6.h b/gcc/config/freebsd6.h new file mode 100644 index 0000000..38bc0cd --- /dev/null +++ b/gcc/config/freebsd6.h @@ -0,0 +1,22 @@ +/* FreeBSD version number setting for FreeBSD 6.x systems. + Copyright (C) 2001 Free Software Foundation, Inc. + Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. + +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_MAJOR 6 |