[EXTERNAL] Re: [PATCH v2] newlib: skip build of AArch64 80bit and 128bit long double functions when sizeof(double) == sizeof(long double)
Radek Barton
radek.barton@microsoft.com
Mon Jul 21 11:47:37 GMT 2025
Hello.
> So, if I'm not completely off-track, you should just define _LDBL_EQ_DBL
> for the aarch64-pc-cygwin target.
The `_LDBL_EQ_DBL` macro is correctly set by the `configure` even without changes from my patch. The merit of patch is to skip build of source codes in `newlib-cygwin/newlib/libm/ld` folder based on the presence of that macro because it seems that those implementations are relevant only to the cases where `sizeof(double) != sizeof(long double)`. Alternatively, I can add checks to `_LDBL_EQ_DBL` macro to every single file in that folder but that would effectively have the same effect for the majority of the implementations, as far as I understand it.
Radek
More information about the Newlib
mailing list