Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Cross compile on linux for windows
Cross compile on linux for windows [message #50234] Sat, 01 September 2018 16:10 Go to next message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Hi,

does anybody know if it's possible to cross compile (with theide + mingw, for example) a GUI
application on Linux targetting windows ?

Ciao

Massimo
Re: Cross compile on linux for windows [message #50235 is a reply to message #50234] Sat, 01 September 2018 16:34 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1075
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

Install wine and then install Windows version of TheIDE. Everything should work out of the box. You can even debug your Windows application Smile

Sincerely,
Klugier


U++ - one framework to rule them all.

[Updated on: Sat, 01 September 2018 16:35]

Report message to a moderator

Re: Cross compile on linux for windows [message #50248 is a reply to message #50234] Mon, 03 September 2018 04:33 Go to previous messageGo to next message
Novo is currently offline  Novo
Messages: 1358
Registered: December 2006
Ultimate Contributor
I tried to use MinGW on Linux several years ago but met a problem with one of the tools (do not remember exactly which one). Probably, the problem is fixed now. It is easy to try. Smile You just need to install MinGW and create a new build method Smile

Regards,
Novo
Re: Cross compile on linux for windows [message #50259 is a reply to message #50235] Thu, 06 September 2018 09:20 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Klugier wrote on Sat, 01 September 2018 16:34
Hello,

Install wine and then install Windows version of TheIDE. Everything should work out of the box. You can even debug your Windows application Smile

Sincerely,
Klugier


Only unfortunate issue there is that mingw still has inefficient TLS implementation. In U++, that has significant impact on importance as 'correct' TLS implementation is the base of memory allocator..
Previous Topic: OpenGL example does not work
Next Topic: Supporting C++17
Goto Forum:
  


Current Time: Fri Mar 29 16:29:39 CET 2024

Total time taken to generate the page: 0.01537 seconds