Laurent GUERBY wrote:
On Mon, 2005-11-21 at 12:15 -0600, Joel Sherrill wrote:
arm-rtems4.7 does build C, C++, and Ada on the gcc SVN head. I have
done no testing beyond that.
Is there a simulator for arm? Frederic do you have a testing
environment in mind? What "--enable-rtemsbsp=X" should I use?
I suppose the GameBoy Advance (gba) BSP is your best bet. Instructions
for it are on the Wiki but I personally don't have any experience with
it yet.
There is also the possibility that the SkyEye simulator could be made to
work with the edp7312 BSP but that hasn't been worked through yet.
I'm building up to GCC for arm-rtems4.7 right now.
Did you resolve the issue about the target including a version number?
I also have this arm-rtems specific patch. Something changed after
4.0.x and none of the RTEMS BSPs would link before I added this.
Index: gcc/config/arm/rtems-elf.h
===================================================================
--- gcc/config/arm/rtems-elf.h (revision 107316)
+++ gcc/config/arm/rtems-elf.h (working copy)
@@ -37,3 +37,10 @@
#undef SUBTARGET_EXTRA_ASM_SPEC
#define SUBTARGET_EXTRA_ASM_SPEC "\
%{!mhard-float: %{!msoft-float:-mfpu=softfpa}}"
+
+/*
+ * The default includes --start-group and --end-group which conflicts
+ * with how this used to be defined.
+ */
+#undef LINK_GCC_C_SEQUENCE_SPEC
+#define LINK_GCC_C_SEQUENCE_SPEC "%G %L"