User forums > General (but related to Code::Blocks)

[Solved] Code::Blocks and makefile: unexpected behaviour

<< < (2/2)

stahta01:

--- Quote from: simac on June 03, 2017, 10:10:24 pm ---I checked the version of the compiler and it's the same with CB and the command line. I tried with a nighty-build version of CB and I've still got the problem.

--- End quote ---

Is it the exact same Compiler?

Edit: The command below in the cmd.exe prompt used to build wxWidgets should show the path of the gcc used; compare with the CB Toolchain setting.

--- Code: ---where gcc

--- End code ---
or

--- Code: ---where gcc.exe

--- End code ---

Tim S.

simac:
I didn't know this command! Very useful!

You're right, the gcc used in the cmd wasn't the same as the one used by CB... I didn't even know that I had another gcc on my computer...
I removed the unexpected location from the PATH, and all seems to work perfectly.

I would like so much banging my head against the wall, but I'm afraid I would damage the wall!

Thank you very much!

Simac

Navigation

[0] Message Index

[*] Previous page

Go to full version