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

Claudio Lanconelli claudiolanconelli@eurekelettronica.it
Wed Nov 9 11:32:00 GMT 2011

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib_iconv_ccs.patch
Type: text/x-diff
Size: 636 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20111109/4b8f1bb8/attachment.bin>

More information about the Newlib mailing list