Code::Blocks Forums

User forums => Help => Topic started by: SlpCtrl on September 29, 2009, 09:32:56 am

Title: Cross compiling in linux
Post by: SlpCtrl 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.
Title: Re: Cross compiling in linux
Post by: Jenna 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 (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=Code::Blocks_and_Cross_Compilers),
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux (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 !