newLib issues

"[email protected] via Newlib" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Hi,   I try make newLib for my bare metel system. I use cygwin / msys2 / mingw:   ../newlib-3.3.0/newlib/configu --host=x86_64-pc-mingw64 --target=x86_64-pc-libnosys    Make fail because of error :    In file included from ../../../newlib-3.3.0/newlib/l  F:/Projects/C/BMoS/test/newLib error: conflicting types for &#39;wctype_t&#39;     22 | typedef int wctype_t;        |             ^~~~~~~~  In file included from C:/msys64/mingw64/x86_64-w64-m                  from C:/msys64/mingw64/x86_64-w64-m                  from C:/msys64/mingw64/lib/gcc/x86_                  from ../../../newlib-3.3.0/newlib/l  C:/msys64/mingw64/x86_64-w64-m note: previous declaration of &#39;wctype_t&#39; was here    112 | typedef unsigned short wctype_t;    What tools should I use to get newLib ready for work?   Best regards  Romek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.