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: problems configuring newlib on Ubuntu


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


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