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: Newlib 2.1.0 not building


Actually, this is caused because of a relative file path.

The right way to fix this is to change the arm/configure.in to use
ac_abs_srcdir instead of srcdir as part of host_makefile_frag.  I have
made the change and checked it in, but had problem getting an arm
toolchain to build with.

Please verify the change I made works.

-- Jeff J.

On 01/03/2014 09:40 AM, Agustin Henze wrote:
On 12/27/2013 05:12 PM, Legimet  wrote:
Hi, I think I found a bug in Newlib 2.1.0. I tried building with the following:
./configure --target=arm-none-eabi --prefix=/usr/local
--enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld
--disable-nls --with-float=soft --disable-werror

But when make enters arm-none-eabi/thumb/libgloss/arm/cpu-init, the
build fails with the message
*** No rule to make target
`../../../.././libgloss/arm/../config/default.mh', needed by
`Makefile'.  Stop.
I confirm, I get the same error. Please find attached a patch that I applied to
fix this.

Cheers,



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