public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* appropriate default configure options
@ 2017-01-15 23:07 Sandra Loosemore
  0 siblings, 0 replies; only message in thread
From: Sandra Loosemore @ 2017-01-15 23:07 UTC (permalink / raw)
  To: newlib

I recently noticed that the new-ish GCC testcase 
gcc.c-torture/execute/pr78622.c was failing on nios2-elf and other 
bare-metal toolchains that use newlib to provide the C library.  This 
testcase presumes the availability of C99 format specifiers like %hhi 
that are not enabled in newlib by default; you need to explicitly 
configure newlib with --enable-newlib-io-c99-formats.  I'm also unsure 
whether there are other options that are needed to get 
standard-conforming C library behavior.  What options are other people 
using/recommending for configuring newlib?

GCC has defaulted to supporting C99 features for a long time now, so 
perhaps newlib should also default to enabling all features required to 
support GCC's default language standard?  Or at least the recommended 
configuration options should be documented more clearly.  The Newlib FAQ 
has an entry about configuration options but it doesn't even mention 
this one.

-Sandra

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-15 23:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-15 23:07 appropriate default configure options Sandra Loosemore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).