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]

[PATCH] fix Makefile with iconv enabled and elix-level=1


Hi,
I tried to configure newlib 1.19.0 for my Cortex-M3 board with the following options:

configure --target=${TOOLCHAIN_TARGET} --prefix=${TOOLCHAIN_PATH} \
		--enable-interwork --disable-multilib --enable-target-optspace --disable-newlib-supplied-syscalls \
		--enable-newlib-elix-level=1 --disable-newlib-io-float --disable-newlib-atexit-dynamic-alloc --enable-newlib-reent-small \
		--enable-newlib-multithread --enable-newlib-iconv --enable-newlib-mb \
		--disable-shared --disable-nls --with-gnu-as --with-gnu-ld --enable-lto

but I got a Makefile error.
I had to apply the following patch to build, but I don't know if it's correct, can you confirm, please?

Claudio Lanconelli

--- newlib-1.19.0/newlib/libc/iconv/ccs/Makefile.in~	2011-10-25 10:57:25.350893063 +0200
+++ newlib-1.19.0/newlib/libc/iconv/ccs/Makefile.in	2011-10-25 10:57:25.360897195 +0200
@@ -882,12 +882,6 @@
 	mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
 	uninstall uninstall-am
 
-@ELIX_LEVEL_1_TRUE@iso_ir_111.c \
-@ELIX_LEVEL_1_TRUE@big5.c \
-@ELIX_LEVEL_1_TRUE@cp775.c cp850.c cp852.c cp855.c cp866.c \
-@ELIX_LEVEL_1_TRUE@jis_x0212_1990.c jis_x0201_1976.c jis_x0208_1990.c ksx1001.c \
-@ELIX_LEVEL_1_TRUE@cns11643_plane1.c cns11643_plane2.c cns11643_plane14.c
-
 .c.def:
 	$(CHEW) < $< > $*.def 2> $*.ref
 	touch stmp-def


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