This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug#333473: Please add newlib support for mips/mipsel


The answer is "no, but it will build". Newlib's configure.host currently only looks for mips* and so you will end up building a basic version of newlib for mips. There is no linux syscall support for example.

-- Jeff J.

Shaun Jackman wrote:
Are mips-linux and mipsel-linux supported targets for newlib? I was
under the impression that the only supported *-linux target is
i386-pc-linux-gnu.

Cheers,
Shaun

2005/10/11, Thiemo Seufer <ths@networkno.de>:

Package: newlib
Version: 1.13.0-2
Tags: patch

newlib can be useful for embedded mips/mipsel systems as well. Please
enable newlib support with the appended patch.

(A test build on mips worked flawlessly. I expect mipsel to behave
the same way.)


Thiemo



--- debian/control.old 2005-10-12 05:26:29.000000000 +0200 +++ debian/control 2005-10-12 04:48:48.000000000 +0200 @@ -7,7 +7,7 @@ Standards-Version: 3.6.1.0

Package: libnewlib0
Section: libs
-Architecture: i386
+Architecture: i386 mips mipsel
Description: a simple ANSI C library and math library
 Newlib is a C library intended for use on embedded systems. It is a
 conglomeration of several library parts, all under free software
@@ -29,7 +29,7 @@ Description: a simple ANSI C library and

Package: libnewlib-dev
Section: libdevel
-Architecture: i386
+Architecture: i386 mips mipsel
Depends: libnewlib0 (= ${Source-Version}), libnewlib-headers (= ${Source-Version})
Description: a simple ANSI C library and math library
 Newlib is a C library intended for use on embedded systems. It is a
--- configure.in.old    2005-10-12 05:25:37.000000000 +0200
+++ configure.in        2005-10-12 05:00:22.000000000 +0200
@@ -714,7 +714,7 @@ case "${target}" in
    noconfigdirs="$noconfigdirs target-newlib ${libgcj}"
    ;;
  mips*-*-linux*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    noconfigdirs="$noconfigdirs target-libgloss"
    ;;
  mips*-*-*)
    noconfigdirs="$noconfigdirs gprof ${libgcj}"
--- configure.old       2005-10-12 05:25:51.000000000 +0200
+++ configure   2005-10-12 05:03:13.000000000 +0200
@@ -1505,7 +1505,7 @@ case "${target}" in
    noconfigdirs="$noconfigdirs target-newlib ${libgcj}"
    ;;
  mips*-*-linux*)
-    noconfigdirs="$noconfigdirs target-newlib target-libgloss"
+    noconfigdirs="$noconfigdirs target-libgloss"
    ;;
  mips*-*-*)
    noconfigdirs="$noconfigdirs gprof ${libgcj}"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]