This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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

Hello,

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?

Thanks~

  • I guess nobody declares that GCC can support NLS ( unicode format ) in Windows OS platform.

    You have to implement this feature (汉化) or just read the English error/warning messages instead of Chinese.