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]

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


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.

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

Cheers,

Chris

Attachment: newlib-1.20.0-configure-host-arm.patch
Description: Binary data


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