This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: libm -fno-builtin
- From: Wilco Dijkstra <Wilco dot Dijkstra at arm dot com>
- To: "newlib at sourceware dot org" <newlib at sourceware dot org>, "freddie_chopin at op dot pl" <freddie_chopin at op dot pl>, Jon Beniston <jon at beniston dot com>, "jjohnstn at redhat dot com" <jjohnstn at redhat dot com>
- Cc: nd <nd at arm dot com>
- Date: Sat, 1 Sep 2018 09:52:46 +0000
- Subject: Re: libm -fno-builtin
> Hello Jon!
>
> So the final opinion is that it is safe to use the new `--disable-
> newlib-fno-builtin` option with ARM MCU targets, right? (;
It is always safe to use -fbuiltin - it's basic code generation. As discussed
-fbuiltin is used in all other C libraries without issues and is already the default in
libm/common.
So I don't understand why it is not the default in all of newlib and why it needs a
configure option to enable it. Do we really want to force every user of newlib to use
a long set of configure options to enable basic codegeneration features?
Wilco