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


Hi Jeff

On 07/01/14 22:43, Jeff Johnston wrote:
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.

arm-none-eabi build does fail with the error:

<...>/binutils/arm-none-eabi/libgloss/arm'
make[2]: *** No rule to make target `/../config/default.mh', needed by `Makefile'. Stop.

Without your previous change, it works though:

Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Tue Jan 7 22:41:38 2014 +0000

    2014-01-07  Jeff Johnston  <jjohnstn@redhat.com>

            * arm/configure.in: Fix host_makefile_frag to use ac_abs_srcdir.
            * arm/configure: Regenerated.

Could you please have a look? Thanks.

Cheers
VP.


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