problems configuring newlib on Ubuntu

Will Newton will.newton@linaro.org
Thu Feb 13 08:45:00 GMT 2014


On 12 February 2014 22:25, Ben Hertzberg <bhertzberg@apple.com> wrote:
> Hi,
>
> I am trying to build newlib on an x86-64 Ubuntu 13.10 system for aarch64 simulation.  I have already installed the aarch64-linux-gnu binutils, as well as some of the other packages that the configure script seemed to be checking for.  I just want to create a libc and libgloss that I can statically link against when compiling AArch64 linux ELF binaries.
>
> I am running into serious trouble getting newlib to configure and build.  I'm spinning my wheels and I would greatly appreciate any assistance you can provide.
>
> Here are the steps that I take after downloading the newlib archive:
>
> tar zxvf newlib-2.1.0.tar.gz
> mkdir newlib-aarch64-linux-gnu
> cd newlib-aarch64-linux-gnu
> ../newlib-2.1.0/configure
> make

I find I need to configure with --with-newlib to get anything to build
(although I am far from an expert on building newlib).

-- 
Will Newton
Toolchain Working Group, Linaro



More information about the Newlib mailing list