This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
How to disable per-local string functions?
- From: Philip Munts <phil at munts dot net>
- To: newlib at sourceware dot org
- Date: Sun, 19 Mar 2017 08:24:51 +0100
- Subject: How to disable per-local string functions?
- Authentication-results: sourceware.org; auth=none
I have a resource constrained Cortex-M0 application that fails with newlib 2.5.0. The strncasecmp() function is now pulling in a lot of locale handling code, which I presume results from commit c1b7d9d93dc8e88693162c0d984a114371919fdd, "Implement per-locale string functions".
How can I either build newlib, or build my application to use the original string functions instead of the new *_l locale handling string functions?
Phil