This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH]: fix newlib/configure.host to use "arm*)" rather than "arm)"
Hi Christopher,
On Apr 26 12:35, Christopher Friedt wrote:
> Hi,
>
> 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
> "configure-target-newlib".
>
> The error is "*** Newlib does not support CPU armv7m".
>
> Please see the attached patch to correct the problem.
A matching patch has already been applied on 2012-02-23. Please test
the latest from CVS instead of 1.20.0.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat