Author Topic: "Platforms" and crosscompilation for windows with mingw  (Read 4097 times)

Offline ardabro

  • Single posting newcomer
  • *
  • Posts: 2
"Platforms" and crosscompilation for windows with mingw
« on: April 26, 2013, 02:42:08 pm »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: "Platforms" and crosscompilation for windows with mingw
« Reply #1 on: April 26, 2013, 02:58:12 pm »
How to properly configure crosscompilation?
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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ardabro

  • Single posting newcomer
  • *
  • Posts: 2
Re: "Platforms" and crosscompilation for windows with mingw
« Reply #2 on: April 26, 2013, 04:56:49 pm »
ok, thanks!
Seems that term "Platfom" is a bit confusing giving no hint that it means compilation platform.