What's the issue you encountered?
arm-none-eabi-gcc throws no iconv implementation error with -fexec-charset option on MSYS2.
How can the issue be reproduced?
$ cat test.c
const char s[] = "ああ";
$ $DEVKITARM/bin/arm-none-eabi-gcc -S test.c -fexec-charset=sjis
cc1.exe: error: no iconv implementation, cannot convert from UTF-8 to sjis
Copied from https://github.com/devkitPro/buildscripts/issues/60 as requested.
arm-none-eabi-gcc error: no iconv implementation on MSYS2
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: arm-none-eabi-gcc error: no iconv implementation on MSYS2
I presume this has something to do with one or more of the decomp projects? If not then, being honest, I'd recommend using UTF-8 rather than sjis.
This command line appears to work with the linux & macOS toolchains where I end up with this in the generated assembly
Is this the expected output?
This command line appears to work with the linux & macOS toolchains where I end up with this in the generated assembly
Code: Select all
.ascii "\202\240\202\240\000"
Re: arm-none-eabi-gcc error: no iconv implementation on MSYS2
Yes, this is the expected output. https://gist.github.com/laqieer/24dcba6 ... est_sjis-sWinterMute wrote: ↑Mon May 06, 2024 12:20 pm This command line appears to work with the linux & macOS toolchains where I end up with this in the generated assemblyIs this the expected output?Code: Select all
.ascii "\202\240\202\240\000"
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: arm-none-eabi-gcc error: no iconv implementation on MSYS2
Working with devkitARM release 64.
Who is online
Users browsing this forum: No registered users and 0 guests