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: [PATCH] fix Makefile with iconv enabled and elix-level=1


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


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