User forums > Using Code::Blocks

"Platforms" and crosscompilation for windows with mingw

(1/1)

ardabro:
Hi
I can't understand what is philosophy of "Platforms" setting.
I configured C::B under linux to use mingw compiler.
When "platforms" is set to "all" windows executable is properly created but with no "exe" extension.
I set "platforms" to "Windows" C::B refuses to compile, because of "XXX does not support the current platform".
But my dedicated target platform is windows and only windows despite compilation process platform.
So I deduced that there is a way to select "current _target_ platform" for project target or globally for compiler, but I didn't find anything. Little zonk :(
How to properly configure crosscompilation?

regards

oBFusCATed:

--- Quote from: ardabro on April 26, 2013, 02:42:08 pm ---How to properly configure crosscompilation?

--- End quote ---
Uncheck the option for automatic extension and type it yourself.
The platform controls if a target should be built or not on the current platform.

ardabro:
ok, thanks!
Seems that term "Platfom" is a bit confusing giving no hint that it means compilation platform.

Navigation

[0] Message Index

Go to full version