This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
arm-linux-gnueabi vs libgloss
- From: DJ Delorie <dj at redhat dot com>
- To: newlib at sourceware dot org
- Date: Wed, 16 May 2007 19:54:46 -0400
- Subject: arm-linux-gnueabi vs libgloss
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"