[PATCH 2/3] cpukit: Change _COMPILING_NEWLIB to _LIBC for helper functions decls

Chris Johns chrisj at rtems.org
Wed Jun 15 00:57:02 UTC 2022


On 15/6/2022 2:42 am, Joel Sherrill wrote:
> This is OK. Changed in newlib here:
> 
> commit 6226bad0eafe762b811c62d1dc096bc0858b0d1a
> Author: Mike Frysinger <vapier at gentoo.org <mailto:vapier at gentoo.org>>
> Date:   Mon Nov 8 22:22:27 2021 -0500
> 
>     change _COMPILING_NEWLIB to _LIBC
>    
>     Use the same name as glibc & gnulib to indicate "newlib itself is
>     being compiled".  This also harmonizes the codebase a bit in that
>     _LIBC was already used in places instead of _COMPILING_NEWLIB.
>    
>     Building for bfin-elf, mips-elf, and x86_64-pc-cygwin produces
>     the same object code.

Thanks. I found another ...

cpukit/libcsupport/src/__gettod.c:#define _COMPILING_NEWLIB

I will update the patch.

Chris


More information about the devel mailing list