gcc-arm-none-eabi-7-2017-q4-major-win32 support NLS ?


I want to make gcc-arm-none-eabi-7-2017-q4-major-win32 output message(warning or error) with chinese.

First, i download gcc-arm-none-eabi-7-2017-q4-major sources.

then build GUN Toolchain, some configure options:

--build=x86_64-linux-gnu --host=i686-w64-mingw32 --target=arm-none-eabi --enable-nls ...

When the compilation is complete,

there are some locale language files generated in ...gcc\share\locale directory.

For example: ...gcc\share\locale\zh_CN\LC_MESSAGES\gcc.mo

When I execute ...gcc\bin\arm-none-eabi-gcc.exe in WINDOWS, gcc's output message language is still english.

How to change output message language to chinese?


More questions in this forum