arm-linux-gnueabi vs libgloss

DJ Delorie dj@redhat.com
Thu May 17 02:05:00 GMT 2007


If you attempt to build a combined tree for a glibc-based
arm-linux-gnueabi, libgloss is built against the glibc headers instead
of the newlib headers, and fails.  I'm thinking a patch like the below
should help?

Index: configure.ac
===================================================================
RCS file: /cvs/src/src/configure.ac,v
retrieving revision 1.10
diff -p -U3 -r1.10 configure.ac
--- configure.ac	21 Mar 2007 20:11:06 -0000	1.10
+++ configure.ac	16 May 2007 23:47:45 -0000
@@ -516,6 +516,9 @@ case "${target}" in
   arm*-*-linux-gnueabi)
     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
     noconfigdirs="$noconfigdirs target-libjava target-libobjc"
+    case ${with_newlib} in
+      no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    esac
     ;;
   arm*-*-symbianelf*)
     noconfigdirs="$noconfigdirs ${libgcj} target-libiberty"



More information about the Newlib mailing list