[PATCH]: fix newlib/configure.host to use "arm*)" rather than "arm)"

Christopher Friedt chrisfriedt@gmail.com
Fri Apr 27 10:40:00 GMT 2012


I've built newlib-1.20.0 for cortex-m4 and noticed that there was an
issue with the newlib/configure.host.

My environment and options are below.

CFLAGS="-O3 -pipe -fomit-frame-pointer -march=native"
CFLAGS_FOR_TARGET="-O2 -pipe -mtune=cortex-m4 -mfloat-abi=softfp
-mfpu=fpv4-sp-d16 -mthumb"
./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --target=armv7m-elf-eabi
--mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
--sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib

The build fails during the 'make' stage when making target

The error is "*** Newlib does not support CPU armv7m".

Please see the attached patch to correct the problem.

Unfortunately, I can't attach my build log, because the mailer daemon
complains about the size of the log.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-1.20.0-configure-host-arm.patch
Type: application/octet-stream
Size: 224 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20120427/54738a9a/attachment.obj>

More information about the Newlib mailing list