newLib issues

romek.globescs@wp.pl romek.globescs@wp.pl
Sun Oct 11 18:11:28 GMT 2020


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 'wctype_t'     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 'wctype_t' was here    112 | typedef unsigned short wctype_t;    What tools should I use to get newLib ready for work?   Best regards  Romek


More information about the Newlib mailing list