User forums > Using Code::Blocks
Howto - Cross Compiling in Linux using MingW32
usenet.tech.talk:
Hi Jen, All,
I'm still stuck on this one. Could I ask for a little nudge from someone? Thank.
drumspirit:
Omg !
Thank you guy for this awesome post !
I have checked out everywhere on the web for solution to compile from Linux to Win.
I haven't tried my executable on a windows platform yet but I guess your tuto is reliable. For sure it compiles in the good way and it creates .exe/windows executable.
Just hope programs don't crash once on a Win32 platform.
Anyway, thanks again, very helpfull !
Drumspirit who just suscribed to thank you guy :)
radzi:
Hi, I've just started to use wxWidgets on Ubuntu. Tried sample code to compile on Ubuntu - ok. But not I'm trying to get it cross-compiled to Windows. Stuck at linker problem
Linking executable: bin/WinRelease/Testing001.exe
/usr/bin/ld: unrecognized option '--subsystem'
/usr/bin/ld: use the --help option for usage information
Any pointers on what's wrong with this?
Thanks.
Jenna:
--- Quote from: radzi on April 06, 2011, 06:53:21 am ---Hi, I've just started to use wxWidgets on Ubuntu. Tried sample code to compile on Ubuntu - ok. But not I'm trying to get it cross-compiled to Windows. Stuck at linker problem
Linking executable: bin/WinRelease/Testing001.exe
/usr/bin/ld: unrecognized option '--subsystem'
/usr/bin/ld: use the --help option for usage information
Any pointers on what's wrong with this?
Thanks.
--- End quote ---
Did you read my wiki-article about a possible way to set up C::B to cross-compile wxWidgets applications for windows on linux ?
http://wiki.codeblocks.org/index.php?title=Cross_Compiling_wxWidgets_Applications_on_Linux
tsolorio:
--- Quote from: visualphoenix on June 16, 2006, 01:52:25 am ---Step 4:
Click the Directories tab and the Compiler tab.
--- Code: --- Modify the path to read the following (where ix86 is your architecture type):
/usr/i586-mingw32msvc/include
--- End code ---
Click the Directories tab and the Linker tab:
--- Code: --- Modify the path to read the following (where ix86 is your architecture type):
/usr/i586-mingw32msvc/lib
--- End code ---
Click the Directories tab and the Resource Compiler tab:
--- Code: --- Modify the path to read the following (where ix86 is your architecture type):
/usr/i586-mingw32msvc/include
--- End code ---
--- End quote ---
I've been looking through this thread and searching in this forum and in other wikis and forums but I get to Step 3 only. In step 4 the options are grayed out. It won't let me add anything under those tabs. I know this is an old thread but I would appreciate if someone has any idea about this. I'm running Linux Mint 12 and Code Blocks 10.05.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version