News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cross compiling in linux

Started by SlpCtrl, September 29, 2009, 09:32:56 AM

Previous topic - Next topic

SlpCtrl

How would I compile a windows executable (.exe) from linux in code::blocks? I can't figure it out :p. Thanks.

Jenna

#1
Quote from: 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.

You can have a look at this thread:
http://forums.next.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 !