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] | |
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, -- TiN
From: Agustin Henze <tin@debian.org>
Date: Fri, 3 Jan 2014 11:29:55 -0300
Subject: [PATCH] Fix wrong path to libgloss/config/default.mh
---
libgloss/arm/cpu-init/Makefile.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libgloss/arm/cpu-init/Makefile.in b/libgloss/arm/cpu-init/Makefile.in
index 547c58d..d63149f 100644
--- a/libgloss/arm/cpu-init/Makefile.in
+++ b/libgloss/arm/cpu-init/Makefile.in
@@ -18,6 +18,7 @@ libdir = @libdir@
tooldir = $(exec_prefix)/$(target_alias)
objtype = @objtype@
+host_makefile_frag = $(srcdir)/../../config/default.mh
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
@@ -80,7 +81,7 @@ info:
install-info:
clean-info:
-Makefile: Makefile.in ../config.status @host_makefile_frag_path@
+Makefile: Makefile.in ../config.status ${host_makefile_frag_path}
$(SHELL) ../config.status --file cpu-init/Makefile
../config.status: ../configure
--
1.8.5.2
Attachment:
signature.asc
Description: OpenPGP digital signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |