From 15aa5ffbfd859e7e16e8e3dbbb35f548646ee984 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 14 Jun 1999 18:54:24 +0000 Subject: Patch ("FIX: no_cpu/no_bsp") from Ralf Corsepius : This patch should fix the nastiest configuration bugs for no_cpu/no_bsp. With this patch applied, configure --target=no_cpu-rtems now correctly acknowledges its configuration, but later fails building when trying to build libcsupport (I leave this problem for you :-). Fixes/Changes: * aclocal/canonicalize-target-name.m4: use RTEMS_CPU instead of target_cpu, switch to a native compiler setup if target = no_cpu*rtems, ie. implicitly use host=target (native) and RTEMS_CPU=no_cpu for --target=no_cpu*rtems. * add no_bsp/bsp_specs (Support -qrtems, -qrtems_debug; please check before adding :-) * Use RTEMS_CANONICALIZE_TARGET_CPU instead of AC_CANONICAL_SYSTEM in toplevel/configure.in * All references to $target_cpu in aclocal/*.m4, Makefile.ins and *.cfg files changed to RTEMS_CPU * bug fixes to exec/score/cpu/no_cpu/wrap (This part of the patch may result into patch rejections, because your recently posted patch may also have addressed this problem). After applying this patch, please do: cvs add c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs ./autogen --- c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs (limited to 'c/src/lib/libbsp/no_cpu') diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs b/c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs new file mode 100644 index 0000000000..1a49230640 --- /dev/null +++ b/c/src/lib/libbsp/no_cpu/no_bsp/bsp_specs @@ -0,0 +1,12 @@ +%rename cpp old_cpp +%rename lib old_lib + +*cpp: +%(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded) + +*lib: +%{!qrtems: %(old_lib)} \ +%{qrtems: --start-group %{!qrtems_debug: -lrtemsall } %{qrtems_debug: -lrtemsall_g} \ + -lc -lgcc --end-group \ + %{!qnolinkcmds: -T linkcmds%s}} + -- cgit v1.2.3