Package: newlib-source
Version: 1.16.0-2
Severity: normal
Tags: patch
Hi
I'm cross-compiling newlib from newlib-source for arm-linux-gnueabi
(Debian armel's GNU triplet).
It fails to install linux.specs in libgloss/arm as objtype isn't set
properly in configure.in (should install elf-linux.specs).
Attached patch (+ autoconf in libgloss/arm) fixes it for me.
This seems to apply to 1.16.0+cvs20081207-1 as well.
Would you also please send the patch upstream?
Cheers,
--
Loïc Minier
--- newlib-1.16.0/libgloss/arm/configure.in 2006-05-10 22:51:40.000000000 +0200
+++ newlib/libgloss/arm/configure.in 2009-01-30 15:53:31.000000000 +0100
@@ -49,7 +49,7 @@ AC_PROG_RANLIB
LIB_AM_PROG_AS
case "${target}" in
- *-*-elf | *-*-eabi)
+ *-*-elf | *-*-eabi | *-*-gnueabi)
objtype=elf-
;;
*-*-coff)