User forums > Using Code::Blocks

Names of compiler executables: Self-built vs Official

(1/5) > >>

PB:
I have installed Code::Blocks (Release 20.03  rev 11983 (2020-03-12 18:24:30)   gcc 8.1.0 Windows/unicode - 64 bit) where I have created several compiler configurations for a GCC compiler (using MSYS2 mingw64 toolchains), one of them is set as the default. All works fine as expected.

However, when I launch a nightly (svn12446) or a self-built C::B (commit da3cdd7), I get notified that a compiler executable was not found. When checking the executable names, I have noticed that in the nightly/self-built CB, the names for GCC and G++ executables are wrongly prefixed with "mingw32-":


When I launch the CB v20.03 after that, the names are thankfully still correct:


The original "GNU GCC Compiler" is affected in the same way.

Any ideas what am I doing wrong?

stahta01:
It is likely the auto compiler detect code that did the change.

But, a dev said no to me adding a feature to disable it!

Tim S.

oBFusCATed:
Try this patch and let me know if it works: https://sourceforge.net/p/codeblocks/tickets/374/#13f6

PB:

--- Quote from: oBFusCATed on June 30, 2021, 07:15:54 pm ---Try this patch and let me know if it works: https://sourceforge.net/p/codeblocks/tickets/374/#13f6

--- End quote ---

I will, assuming I can manage it.

Just for the record:
1. I did not press <Autodetect> in compiler settings.
2. Those two compilers are named like that (no "mingw32-" prefix) also in the old GCC v8 installations provided by mingw-64 project (e.g. i686-8.1.0-posix-sjlj-rt_v6-rev0).
3. The installation for "GNU GCC Compiler", which is also affected by this, points to C:\TDM-GCC-32, which is not an MSYS.

stahta01:

--- Quote from: PB on June 30, 2021, 07:27:05 pm ---
--- Quote from: oBFusCATed on June 30, 2021, 07:15:54 pm ---Try this patch and let me know if it works: https://sourceforge.net/p/codeblocks/tickets/374/#13f6

--- End quote ---

I will, assuming I can manage it.

Just for the record:
1. I did not press <Autodetect> in compiler settings.
2. Those two compilers are named like that (no "mingw32-" prefix) also in the old GCC v8 installations provided by mingw-64 project (e.g. i686-8.1.0-posix-sjlj-rt_v6-rev0).
3. The installation for "GNU GCC Compiler", which is also affected by this, points to C:\TDM-GCC-32, which is not an MSYS.

--- End quote ---

When you start Code::Blocks it runs a auto detect compiler routine!

Tim S.

Navigation

[0] Message Index

[#] Next page

Go to full version