On Tue, 18 Jan 2022 at 09:05, LiaoShihua wrote: > > When I built riscv-gcc with newlib, it will be terminated with message > "fatal error: endian.h: No such file or directory". > So, fixed it in fast_float.h. >
> libstdc++-v3\ChangeLog: > N.B. you need to use a forward slash here, not backslash. > > * src/c++17/fast_float/fast_float.h (defined):fast_float.h will > include <machine/endian.h> with using newlib > (defined) is not the right component name here. But I fixed it differently anyway, see PR 104080.