This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] fix Makefile with iconv enabled and elix-level=1
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Tue, 8 Nov 2011 16:50:43 +0100
- Subject: Re: [PATCH] fix Makefile with iconv enabled and elix-level=1
- References: <4EB94464.9000208@eurekelettronica.it>
- Reply-to: newlib at sourceware dot org
Hi Claudio,
On Nov 8 16:01, Claudio Lanconelli wrote:
> 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?
Thanks for the patch. Unfortunately it's not correct since Makefile.in
is automaked from Makefile.am. It turned out the problem was a missing
backslash in the definition of ELIX_SOURCES so the list of ELIX level 1
source files was too short. Automake happily created a broken rule from
there, though.
I applied the patch to libc/iconv/ccs/Makefile.am and regenerated
libc/iconv/ccs/Makefile.in in CVS.
Thanks again,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat