problem in make install

Michael Eager
Mon May 3 15:17:00 GMT 2010

Corinna Vinschen wrote:
> On May  2 08:42, Tom Hawkins wrote:
>> On Sun, May 2, 2010 at 12:29 AM, Tom Hawkins <> wrote:
>>> I'm building a cross compiler to target a bare metal powerpc embedded
>>> platform.  I've been able to build and install binutils and gcc (c,
>>> c++, ada).  And Newlib successfully configures and compiles, but dies
>>> on the install (see below).
>> One further inspection, 'make all' also has errors, but they were
>> hidden because they didn't kill the make process.  They stem from a
>> missing file libgloss/rs6000/xil-exit.c, which is referenced by
>> libgloss/rs6000/  Any idea what this should be?  I created
>> a symbolic link to mbx-exit.c and everything seemed to build and
>> install OK.
>> I'm working with newlib-1.18.0, but the problem is also in the latest from cvs.
> It looks like an oversight when checking in this change:
> 2009-06-17  Michael Eager <...>
>         * rs6000/ Add xilinx support.
>         * rs6000/xil-crt0.s: New crt0 file for powerpc-xilinx-eabi.
>         * rs6000/xilinx.ld: New file.
>         * rs6000/xilinx440.ld: Ditto.
> refered to xil-exit.c, but it was neither checked in,
> nor even mentioned in the ChangeLog.
> Michael, what's wrong, the reference to xil-exit.c or
> the fact that the file is missing?

My bad.  Xilinx originally had a modified version of exit, which
I was able to eliminate.  But I missed removing the reference
from the makefile or, more likely, missed checking in the change.

Patch attached.

Michael Eager
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch
URL: <>

More information about the Newlib mailing list