problem in make install
Michael Eager
eager@eagercon.com
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 <tomahawkins@gmail.com> 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/Makefile.in. 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/Makefile.in: Add xilinx support.
> * rs6000/xil-crt0.s: New crt0 file for powerpc-xilinx-eabi.
> * rs6000/xilinx.ld: New file.
> * rs6000/xilinx440.ld: Ditto.
>
> Makefile.in refered to xil-exit.c, but it was neither checked in,
> nor even mentioned in the ChangeLog.
>
> Michael, what's wrong, the Makefile.in 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 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: newlib.patch
URL: <http://sourceware.org/pipermail/newlib/attachments/20100503/5b3d8a90/attachment.ksh>
More information about the Newlib
mailing list