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]

appropriate default configure options


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


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