Author Topic: Cross compiling in linux  (Read 3133 times)

Offline SlpCtrl

  • Single posting newcomer
  • *
  • Posts: 9
Cross compiling in linux
« on: September 29, 2009, 09:32:56 am »
How would I compile a windows executable (.exe) from linux in code::blocks? I can't figure it out :p. Thanks.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Cross compiling in linux
« Reply #1 on: September 29, 2009, 09:47:00 am »
How would I compile a windows executable (.exe) from linux in code::blocks? I can't figure it out :p. Thanks.

You can have a look at this thread:
http://forums.codeblocks.org/index.php/topic,3343.0.html
or one of these wiki-articles:
http://wiki.codeblocks.org/index.php?title=Code::Blocks_and_Cross_Compilers,
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux.
The second article is about cross-compiling wxWidgetrs-apps, but the main part is almost the same (except for windows compiler-flags,that are set by wx-config automatically).

By the way:
please use the forums search before asking the next time, thanks !
« Last Edit: September 29, 2009, 09:50:16 am by jens »