diff --git a/gcc/config/rtems.h b/gcc/config/rtems.h new file mode 100644 index 00000000000..a5ac8a741d3 --- /dev/null +++ b/gcc/config/rtems.h @@ -0,0 +1,22 @@ +/* Configuration common to all targets running RTEMS. + Copyright (C) 2000 Free Software Foundation, Inc. + +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. */ + +/* The system headers under RTEMS are C++-aware. */ +#define NO_IMPLICIT_EXTERN_C diff --git a/gcc/po/POTFILES.in b/gcc/po/POTFILES.in index 277cee93ada..939e8e7a8bd 100644 --- a/gcc/po/POTFILES.in +++ b/gcc/po/POTFILES.in @@ -474,6 +474,7 @@ config/rs6000/xm-lynx.h config/rs6000/xm-mach.h config/rs6000/xm-rs6000.h config/rs6000/xm-sysv4.h +config/rtems.h config/sh/elf.h config/sh/rtems.h config/sh/sh.c