Choosing another GCC (e.g. mingw64) the compiler setup enforces /bin/ as subdir but slashes are wrong on windows. When I try to build (any project) I get this error:
"Tried to run compiler executable 'C:\mingw-w64\mingw64/bin/gcc.exe', but failed!"
I looked in C::B config files but found nothing. Are those hardcoded?
I don't think that your problem is with slashes or backslashes. C::B and gcc admit both characters for path separator. You should check the real full path to your "other" gcc compiler and set accordingly the path to that compiler in your compiler's configuration (as told in the window, without the bin subfolder).
Last edit: Gerard DURAND 2026-05-01