267 Commits

Author SHA1 Message Date
Joel Sherrill
cbc4e6fad7 2002-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/env-rtemsbsp.m4: Use ${RTEMS_BSP} to setup includedir.
2002-01-22 18:03:19 +00:00
Joel Sherrill
36202ecdea 2002-02-07 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-tool.m4: Remove AC_CHECK_TOOL_PREFIX, conditionalize
	check upon host_alias != build_alias.
2002-01-08 12:06:18 +00:00
Joel Sherrill
a0ea6f1062 2002-02-05 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-newlib.m4: Apply AS_IF.
	* aclocal/config-subdirs.m4: Remove _RTEMS_PUSH_BUILDDIR,
	_RTEMS_POP_BUILDDIR, _RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR.
	* aclocal/subdirs.m4: Fix comments, apply AS_IF.
	* aclocal/sysv-ipc.m4: Reflect autoconf-2.5x canonicalization
	changes.
	* aclocal/target.m4: Add _RTEMS_PUSH_BUILDDIR, _RTEMS_POP_BUILDDIR,
	_RTEMS_GIVEN_INSTALL, _RTEMS_SUB_SRCDIR.
	* automake/compile.am: Remove librtemsall from LINK_FILES.
2002-01-06 20:12:13 +00:00
Joel Sherrill
ba748523d1 2001-12-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Reworked for multilibs, reflect changes to aclocal/*.m4.
	* aclocal/subdirs.m4: New file.
	* aclocal/multi.m4: New file, adopted from autoconf-2.52 w/
	modifications.
	* aclocal/check-posix.m4: Apply AS_IF.
	* aclocal/config-subdirs.m4: Reflect changes to other m4-macros.
	* aclocal/env-rtemsbsp.m4: Add PROJECT_INCLUDE, PROJECT_RELEASE.
	Add AM_CONDITIONAL(MULTILIB). Adapt GCC_SPECS to multilibs.
	* aclocal/env-rtemscpu.m4: Remove RTEMS_BSP. Add support for
	MULTIBUILDTOP, MULTISUBDIR. Adapt GCC_SPECS to multilibs.
	Add PROJECT_INCLUDE, PROJECT_RELEASE, includedir, libdir.
	* aclocal/multilib.m4: Fix m4-quoting, adopt automake-1.5's
	OUTPUT_COMMANDS.
	* aclocal/project-root.m4: Remove PROJECT_INCLUDE, PROJECT_RELEASE.
	* aclocal/rtems-debug.m4: Minor cleanups.
	* aclocal/rtems-top.m4: Minor cleanups.
	* automake/compile.am: Further steps towards automake's rules.
2001-12-20 17:33:23 +00:00
Joel Sherrill
1a457f53e7 2001-11-30 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-configure.m4: New file.
	* Makefile.am: Add aclocal/bsp-configure.m4.
2001-12-03 16:09:08 +00:00
Joel Sherrill
8e54186822 2001-11-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-alias.m4: Remove score603e_g1.
	* aclocal/check-bsps.m4: Remove score603e_g1.
	* aclocal/prog-cc.m4: Apply m4_if.
2001-11-21 18:36:51 +00:00
Joel Sherrill
466e5905e8 2001-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* automake/force-preinstall.am: New file.
	* aclocal/ppc.m4: New file.
2001-11-20 18:50:12 +00:00
Joel Sherrill
9c392aa281 2001-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-bsps.m4: Reworked.
	* aclocal/bsp-alias.m4: Add score603e_g1, apply m4sugar.
2001-11-15 16:50:33 +00:00
Joel Sherrill
7ee86ba746 2001-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bspopts.m4: New file.
2001-11-14 18:57:26 +00:00
Joel Sherrill
60c752425c 2001-10-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-rdbg.m4: Fix latent bug exposed by removal of
	config.cache's which prevented powerpc targets librdbg from building.
2001-10-17 20:30:38 +00:00
Joel Sherrill
080afecb64 2001-10-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-cpu-subdirs.m4: Add PREFIX arg to RTEMS_CPU_SUBDIRS,
	add 2nd arg to _RTEMS_CPU_SUBDIR.
	* aclocal/target.m4: Replace ac_configure_args with
	rtems_configure_args, add rtems_configure_args to INIT-CMDS.
	* Makefile.am: Require automake-1.5.
2001-10-17 13:15:11 +00:00
Joel Sherrill
083b72aece 2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-cpu-subdirs.m4: New file.
2001-10-10 00:38:56 +00:00
Joel Sherrill
37b5d78153 2001-09-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-target-name.m4: Use AC_CANONICAL_TARGET instead
	of AC_CANONICAL_SYSTEM.
	* aclocal/config-subdirs.m4: Use AS_MKDIR_P instead of
	mkinstalldirs and mkdir.
	* aclocal/target.m4: Obsolete RTEMS_OUTPUT_BUILD_SUBDIRS,
	hack RTEMS_CONFIG_BUILD_SUBDIRS, introduce
	_RTEMS_OUTPUT_BUILD_SUBDIRS.
2001-09-14 17:30:22 +00:00
Joel Sherrill
e712997cac 2001-07-19 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.in: autoupdate to autoconf-2.52.
	* bootstrap: Add handling for configure.ac, make autoheader verbose,
	fix auto*tool invocation order.
	* aclocal/rtems-test-no-pause.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-bare.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-cxx.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-gcc28: Introduce AC_HELP_STRING.
	* aclocal/enable-inlines.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-itron.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-libcdir.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-multiprocessing.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-networking.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-posix.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-rdbg.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-rtemsbsp.m4: Introduce AC_HELP_STRING.
	* aclocal/enable-tests.m4: Introduce AC_HELP_STRING.
	* aclocal/env-rtemsbsp.m4: Add AC_ARC_VAR(RTEMS_BSP), apply true in
	RTEMS_CONFIG_PER_BSP conditional.
	* aclocal/multilib.m4: Introduce AC_HELP_STRING.
	* aclocal/rtems-debug.m4: Introduce AC_HELP_STRING.
	* aclocal/rtems-top.m4: Add AC_PREFIX_DEFAULT(/opt/rtems).
2001-09-13 13:14:30 +00:00
Joel Sherrill
a86c171440 2001-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f.
	* aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f,
	Add support for DOS-drive-letters.
2001-05-24 20:01:10 +00:00
Joel Sherrill
f1d08c98b3 2001-04-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/prog-cc.m4: Add CPPFLAGS and CFLAGS handling to
	RTEMS_PROG_CC_FOR_TARGET.
2001-05-07 13:15:49 +00:00
Joel Sherrill
084556d6ec 2001-04-20 Eric Valette <valette@crf.canon.fr>
* aclocal/check-rdbg.m4: Added check to determine which PowerPC
	BSPs support the new exception processing model and
	consequently, librdbg.
2001-04-20 17:27:55 +00:00
Joel Sherrill
b50b3c841a 2001-02-20 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/config-subdirs.m4: Let CC default to $host_alias-gcc in
	TARGET_CONFIG_SUBDIRS.
	* aclocal/enable-bsp.m4: fix quoting.
	* aclocal/check-bsps.m4, aclocal/bsp-alias.m4: Add pc386dx.
2001-02-21 14:20:50 +00:00
Joel Sherrill
f5c583619c 2001-02-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/config-subdirs.m4: New file.
	* aclocal/target.m4: Use macros from config-subdirs.m4.
2001-02-05 18:04:57 +00:00
Joel Sherrill
2608a53576 2001-02-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/env-rtemsbsp.m4, aclocal/env-rtemscpu.m4:
	Add -B$(PROJECT_ROOT)/ to GCC_SPECS.
2001-02-02 18:32:12 +00:00
Joel Sherrill
21d7de3a3f 2001-02-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configre.in: Fix AM_INIT_AUTOMAKE.
	* aclocal/bsp-arg-enable.m4: Extend comments.
	* aclocal/check-bsps.m4: Remove extraneous comments, add test -d in
	the default clause.
2001-02-02 18:30:42 +00:00
Joel Sherrill
560aae24e2 2001-01-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-rtemsbsp.m4: Split out RTEMS_ENV_RTEMSBSP,
	RTEMS_ENV_RTEMSCPU.
	* aclocal/env-rtemsbsp.m4: New file for RTEMS_ENV_RTEMSBSP, add
	special treatment for GCC_SPECS.
	* aclocal/env-rtemscpu.m4: New file for RTEMS_ENV_RTEMSCPU, add
	special treatment for GCC_SPECS.
	* aclocal/bsp-enable-arg.m4: New file, introduce RTEMS_BSP_ARG_ENABLE.
	* aclocal/prog-cc.m4: Add AC_PROG_CPP, use build_os in GCCSED hack.
	* automake/compile.am: New treatment of CPP, GCCSPECS, use `..`
	instead of $(shell ..) for LIBC_LIB*.
2001-01-29 15:27:25 +00:00
Joel Sherrill
227ae749dc 2001-01-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/bsp-alias.m4, aclocal/check-bsps.m4: Add simsh7032 and
	simsh7045.
2001-01-22 14:03:44 +00:00
Joel Sherrill
1033e273a4 2000-11-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonical-host.m4: Abandon changequotes (autoconf-2.49b).
	* aclocal/check-newlib.m4: Let check message refer to RTEMS newlib.
	* aclocal/rtems-debug.m4: Fix formating and contents of the check's
	help string.
	* aclocal/rtems-top.m4: Remove AC_ARG_WITH(target-subdir).
2000-11-15 21:56:52 +00:00
Joel Sherrill
a44f9ca520 2000-11-13 Jiri Gaisler <jgais@ws.estec.esa.nl>
* README.configure, aclocal/bsp-alias.m4, aclocal/check-bsps.m4:
	Modified to reflect addition of LEON BSPs as well as the
	no-FP ERC32 variant.
2000-11-13 22:51:54 +00:00
Joel Sherrill
2dbd07f8dc 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/gcc-pipe.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf
	standard).
	* aclocal/gcc-specs.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf
	standard).
	* aclocal/multilib.m4: Fix m4-quoting (BUG-FIX).
	* aclocal/check-bsp-cache.m4: Fix m4-quoting (autoconf-2.49b).
	* aclocal/prog-cc.m4: Use $GCC instead of ac_cv_prog_gcc (autoconf
	standard), replace CC_FOR_TARGET with CC (BUG-FIX).
2000-11-09 17:04:53 +00:00
Joel Sherrill
5913d94de8 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-itron.m4: Remove changequotes (autoconf-2.49b).
	* aclocal/enable-posix.m4: Remove changequotes (autoconf-2.49b), use
	$host instead of $target (BUG-FIX).
	* configure.in: Use $target and $host instead of $target_alias and
	$host_alias (autoconf-2.49b).
	* aclocal/check-newlib.m4: Remove CC_FOR_TARGET (BUG-FIX)
	* aclocal/sysv-ipc.m4: Move AC_DEFINE outside of AC_CACHE (BUG-FIX)

	NOTES:
	* autoconf-2.49b depredicates using changequotes.
	* The changes to configure.in are due to cleanups in
	autoconf-2.49b's implemention of canonicalization. With
	autoconf-2.1x it wasn't always clear, when to use $xxx or
	$xxx_alias. Now this is clear.
2000-11-09 17:01:25 +00:00
Joel Sherrill
6870384942 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonicalize-tools.m4, aclocal/check-tool.m4,
	aclocal/prog-cc.m4, aclocal/prog-cxx.m4:  Replace AC_CHECK_TOOL
	with an RTEMS specific but more restrictive autoconf macro.
2000-11-03 14:15:29 +00:00
Joel Sherrill
4686e5d915 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonicalize-tools.m4, aclocal/check-tool.m4,
	aclocal/prog-cc.m4, aclocal/prog-cxx.m4:  Replace AC_CHECK_TOOL
	with an RTEMS specific but more restrictive autoconf macro.
2000-11-02 22:51:12 +00:00
Joel Sherrill
2f17d7454f 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/canonicalize-tools.m4: Remove RTEMS_PATH_TOOL, use
	AC_CHECK_TOOL instead of RTEMS_PATH_TOOL in RTEMS_CANONICALIZE_TOOLS.
2000-11-02 15:55:26 +00:00
Joel Sherrill
2e0fd4273d 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/*: Replace with contents of macros/*.m4
	* macros/: Remove.
	* aclocal/ar-s.m4 aclocal/tool-prefix.m4: Remove.
	* Makefile.am: Reflect changes to aclocal/ and macros/.
2000-11-02 15:44:04 +00:00
Joel Sherrill
509f835141 2000-10-24 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* macros/enable-hwapi.m4: Removed.
	* aclocal/rtems-top.m4, automake/compile.am, automake/lib.am:
	A small cleanup step towards gnu-canonicalization.
2000-10-24 21:59:16 +00:00
Joel Sherrill
c9782f99b7 2000-09-14 Joel Sherrill <joel@OARcorp.com>
* aclocal/enable-hwapi.m4: Now longer used and removed.
2000-09-14 16:54:39 +00:00
Joel Sherrill
372e4e2758 2000-09-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/rtems-top.m4: Add ENDIF-hack.
	* automake/compile.am: Add include $(DEPENDS) + ENDIF-hack.
2000-09-13 13:08:11 +00:00
Joel Sherrill
1ea70d78dd 2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-cxx.m4: Add AC_SUBST(CPLUS_LD_LIBS)
	* aclocal/prog-cc.m4: Cleanup comments, require RTEMS_ENABLE_GCC28,
	add automake conditionals RTEMS_USE_GCC, RTEMS_USE_GCC272.
	* automake/compile.am: Replaced.
	* automake/local.am: Remove building variant handling.
2000-09-12 20:54:13 +00:00
Joel Sherrill
03d570670a 2000-09-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/enable-rtemsbsp.m4: Add RTEMS_ENABLE_BARE,
	AC_SUBST(BARE_CPU_MODEL),AC_SUBST(BARE_CPU_CFLAGS).
	* aclocal/i386-gas-code16.m4: AC_DEFINE NEW_GAS.
	* aclocal/target.m4: Cleanup comments
	* Automake/compile.am: Add DEFS support to keep building happy.
2000-09-12 12:52:12 +00:00
Joel Sherrill
9322194b3d 2000-09-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/project-root.m4: Introduce PROJECT_TOPdir, add comments.
2000-09-06 15:29:57 +00:00
Joel Sherrill
be28778fd4 2000-08-31 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* aclocal/check-bsps.m4: Fix c4* and sim68000 entries
2000-09-01 07:12:52 +00:00
Joel Sherrill
8e577624fd 2000-08-17 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* make/custom/pck6.cfg: New file
	* make/custom/pc486.cfg: Use -m486
	* make/custom/pc586.cfg: Use -mpentium
	* make/custom/pc686.cfg: Use -mmpentiumpro
	* make/custom/i386ex.cfg: Use -msoft-float
	* aclocal/check-bsps.h:
	  - Add pck6-BSP
	  - Exclude ChangeLog from being picked up as BSP
	* aclocal/bsp-alias.m4: Add pck6-BSP
2000-08-25 17:27:52 +00:00
Joel Sherrill
b812f84155 Added sim68000 BSP for the BSVC simulator. This BSP includes the
alias simcpu32 that supports the CPU32 simulator in BSVC.  At this
point, it is still under development.
2000-08-01 20:01:14 +00:00
Joel Sherrill
7496d9c30a Patch rtems-rc-20000725-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is an improvement in the version handling macro that compensates
for Joel's bug in the release script which broke the VERSION file format.
2000-07-25 13:33:08 +00:00
Joel Sherrill
dbe50fd464 Added c3xsim as alias of c4xsim. 2000-07-25 13:31:59 +00:00
Joel Sherrill
237c259851 Changed default value to "pause". 2000-07-17 01:54:14 +00:00
Joel Sherrill
b8a30d07a5 Patch rtems-rc-20000713-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
  * Make RTEMS_TEST_NO_PAUSE a tests/ subpackage specific option.
    - Remove RTEMS_TEST_NO_PAUSE from custom/*.cfg, targopts.h and
      cpuopts.h.
    - Add autoconf macros RTEMS_*_RTEMS_TEST_NO_PAUSE
      (aclocal/rtems-test-no-pause.m4).
    - Add RTEMS_*_RTEMS_TEST_NO_PAUSE support to sptests/configure.ins
      and tmtests/configure.in. These are the only subdirectories which
      currently apply RTEMS_TEST_NO_PAUSE.
    - Add autoconf-DEFS support to all test subpackages' configure.ins
      below tests/. I.e. AC_DEFINES now get explicitly propagated as
      preprocessor defines into Makefiles, cf. AM_CPPFLAGS in
      tests/*/*.am, instead of using a global config-files.
    - Remove NDEBUG from custom/*.cfg.

  * AC_DEFINE POSIX_API, ITRON_API and MULTIPROCESSING in
    exec/configure.in, only.
    - All other sources now should relay on the values from cpuopts.h
      and should not define them themselves.
    - Several related changes to many configure.ins

  * Bug-fixes to RTEMS_*_RTEMS_DEBUG macros (Actually workarounds to
    quoting bugs in autoconf).

  Notes:
    * This patch is rather immature and only tested for a small subset
      of BSPs (requires the tests to be enabled and therefore takes an
      tremendous amount of disc space and time.)
    * The patches to *cfg were generated by a script. Expect file
      formating changes :)
2000-07-13 15:05:38 +00:00
Joel Sherrill
396079844d Patch rtems-rc-20000712-1-cvs.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is yet another multilib-related structual cleanup patch:

  Changes:
    * Make RTEMS_DEBUG a global per-cpu configuration option
    * Remove RTEMS_DEBUG from targopts.h
    * Add a global --enable-rtems-debug option disabled by default.
    * Add RTEMS_DEBUG to cpuopts.h
    * Remove all references to RTEMS_DEBUG from custom/*.cfg

  Notes:
    * RTEMS_DEBUG is set in c/src/exec/configure.in only
      (RTEMS_CHECK_RTEMS_DEBUG) and should be defined in cpuopts.h only.
      BSPs should not redefine it, but use the value being provided by
      cpuopts.h.
      => With multilibs, users have to choose: Either enable RTEMS_DEBUG
         for all BSPs and CPU_MODELs of a cpu or not.
    * Only few BSPs had RTEMS_DEBUG enabled, therefore I set the default
      to disabled.
    * This patch influences the per-BSP building scheme. Existing BSPs
      which set RTEMS_DEBUG in their make-target-options rule might have
      problems at runtime.
2000-07-12 19:23:14 +00:00
Joel Sherrill
256cbecf68 Patch rtems-rc-20000708-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is another small step toward multilibs:

  Changes:
    * Eliminate RTEMS_CHECK_CUSTOM_BSP from all configure.ins below exec/
    * Add RTEMS_CHECK_CUSTOM_BSP to the multilib-disabled branch in
      RTEMS_ENV_RTEMSCPU to preserve the old per-BSP building scheme
      functional.

  Notes:
    * --enable-multilibs is still non-functional
    * This patch should not have any influence on the old building
      scheme (--disable-multilib should silently fall back to the old
      building scheme).
    * running ./bootstrap is required after applying the patch
2000-07-10 19:12:07 +00:00
Joel Sherrill
823938fa4c Patch rtems-rc-20000707-1-cvs.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de> that adds a piece of the
*-rc-20000705-? series that was not added to CVS accidentally.
2000-07-07 17:01:29 +00:00
Joel Sherrill
02217e0bd6 Patch rtems-rc-20000704-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that makes --disable-multilib the default.
2000-07-06 20:15:35 +00:00
Joel Sherrill
04e6f7bffb Patch rtems-rc-20000705-3.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
that is a somewhat experimental, multilib-related patch:

  Changes:
    * Use RTEMS_ENV_RTEMSCPU instead of RTEMS_ENV_RTEMSBSP in
      configure.ins below exec/.
      At the moment, RTEMS_ENV_RTEMSCPU is more or less an optical change
      to emphasize that these subdirectories shall not depend on RTEMS_BSP
      than a real behavioral change.
    * Add AC_DEFINE_* to several aclocal/*.m4 macros to prepare
      autoheader/autoconf generated targopts.h and similiar configuration
      headers.
    * c/src/configure.in: remove exec from cfg_subdirs if multilibs are
      enabled (c/src is build per bsp, exec shall be build per cpu in c/
      or from the toplevel in future, when multilibs are enabled.)

  Notes:
    * This patch should not have any impact on the current building scheme.
    * --enable-multilib still does not work.
    * running bootstrap from the toplevel directory is required.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	c/src/tests/libtests/termios/init.c
CVS: ----------------------------------------------------------------------
2000-07-06 20:13:35 +00:00
Joel Sherrill
04e4829d46 Patch rtems-rc-20000626-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>.
Comments follow:

  Building linux/posix fails due to including lib/include/sys/cdefs.h
  instead of linux's sys/cdefs.h.
  AFAIS, this sys/cdefs.h is specific to newlib and should probably
  not be used on any unix host.

  Therefore, I changed the relevant Makefile.am/configure.in to
  condionally install sys/cdefs.h only if newlib is present.

  This triggered another bug inside of the newlib-check for one of
  RTEMS target's (Unfortunately I can't remember which - mips/i960 ?
  ... one of the more exotic ...), for which int func() isn't
  identical to void func().

  Note: This patch needs to be tested under Cygwin and Solaris. I am
  particularily unsure about Cygwin/posix, as it applies a different
  version newlib which must not trigger RTEMS newlib check (it is
  supposed to fail) and if it may need RTEMS's sys/cdefs.h.
2000-07-06 14:04:29 +00:00