[PATCH] newlib: filter out versions from newlib.h to simplify autoreconf
Sebastian Huber
sebastian.huber@embedded-brains.de
Tue Oct 17 05:40:02 GMT 2023
On 15.10.23 11:32, Mike Frysinger wrote:
> We've been manually editing newlib.hin after generating it with
> autoheader to drop the version defines that we keep in the separate
> _newlib_version.h header. This is confusing for people, and is an easy
> source of mistakes/errors. Since we're already running sed on newlib.h
> during configure to filter out defines we don't want to expose, add the
> version macros there too. This way we don't have to manually edit
> newlib.hin. This simplifies the autoreconf step in exchange for a
> slightly more complicated configure+sed step, but seems worth the trade-off.
Thanks, this is a nice improvement for occasional contributors like me.
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the Newlib
mailing list