Till today I have run Codeblocks (svn build rev 12847 (2022-07-07 18:10:48)) on Win10 with gcc 12.1 - 64 bit.
I have tried to update gcc to newer version 13.1 - 64 bit creating in "settings/compiler" copy and set new compiler's installation directory. I have check all paths in Toolchain executables and there are OK.
EDIT: I am certainly missing some settings. If I modify default settings to path to gcc version 13.1, than compiling is still done through 12.1, even if 12.1 has no path set up.
||=== Build: Debug in New (compiler: GNU GCC Compiler 13.1) ===|
ld.exe||cannot find -lgmon: No such file or directory|
ld.exe||cannot find -lstdc++: No such file or directory|
ld.exe||cannot find -lmingw32: No such file or directory|
ld.exe||cannot find -lgcc: No such file or directory|
ld.exe||cannot find -lgcc_eh: No such file or directory|
ld.exe||cannot find -lmoldname: No such file or directory|
ld.exe||cannot find -lmingwex: No such file or directory|
ld.exe||cannot find -lmsvcrt: No such file or directory|
ld.exe||cannot find -lkernel32: No such file or directory|
ld.exe||cannot find -lgmon: No such file or directory|
ld.exe||cannot find -lpthread: No such file or directory|
ld.exe||cannot find -ladvapi32: No such file or directory|
ld.exe||cannot find -lshell32: No such file or directory|
ld.exe||cannot find -luser32: No such file or directory|
ld.exe||cannot find -lkernel32: No such file or directory|
ld.exe||cannot find -lmingw32: No such file or directory|
ld.exe||cannot find -lgcc: No such file or directory|
ld.exe||cannot find -lgcc_eh: No such file or directory|
ld.exe||cannot find -lmoldname: No such file or directory|
ld.exe||cannot find -lmingwex: No such file or directory|
ld.exe||cannot find -lmsvcrt: No such file or directory|
ld.exe||cannot find -lkernel32: No such file or directory|
||error: ld returned 1 exit status|
||=== Build failed: 23 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|