libgcc sparc-rtems config on gcc head

Joel Sherrill joel.sherrill@oarcorp.com
Wed Nov 2 21:34:00 GMT 2011


Hi,

The sparc libgcc configure magic looks very
different on the head versus 4.6.  sparc-rtems4.11
was not building because it was missing crti.

In 4.6, we got the makefile stub from sparc/t-crtin
but that no longer exists.  It looks like the
rules are on t-sol2 now.

I made this change to libgcc/config.host and
it is getting further.  Does this look like
what the intended change?

Index: config.host
===================================================================
--- config.host    (revision 180798)
+++ config.host    (working copy)
@@ -1028,7 +1028,7 @@
      md_unwind_header=sparc/linux-unwind.h
      ;;
  sparc-*-rtems*)
-    tmake_file="sparc/t-elf t-crtfm t-rtems t-fdpbit"
+    tmake_file="sparc/t-elf t-crtfm t-sol2 t-rtems t-fdpbit"
      extra_parts="$extra_parts crti.o crtn.o crtfastmath.o"
      ;;
  sparc*-*-solaris2*)

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the Gcc mailing list