Hi Matthew, On Aug 16 12:57, Matthew Wahab wrote: > On 16/08/16 12:39, Matthew Wahab wrote: > > On 16/08/16 11:48, Corinna Vinschen wrote: > > > On Aug 16 11:37, Matthew Wahab wrote: > > > > I get a build failure when cross-compiling for aarch64-none-elf, the error > > > > message is > > > > ---- > > > > newlib-cygwin/newlib/libc/stdlib/../locale/setlocale.h:206:38: error: > > > > unknown type name 'locale_t'; did you mean 'clockid_t'? > > > > size_t, size_t, mbstate_t *, locale_t); > > > > ^~~~~~~~ > > > > clockid_t > > > > > > > > > Can you test that the above patch works for you? I'll check it in then. > > > > > > > Thanks for the patch. It fixes that failure but there's another in localeconv.c: > > I've also tried with the second patch and still get the build errors. I applied a couple of patches meant to fix the locale stuff on non-Cygwin targets. Please give them a try. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat