How to run Linux cpp excutable in winows os?
-
Hi, I have one linux cpp executable file. i want how to run this executable file in windows OS?. please give any idea? or urls Regards, M.Mathivanan
-
Hi, I have one linux cpp executable file. i want how to run this executable file in windows OS?. please give any idea? or urls Regards, M.Mathivanan
Hi, 1. you're in the wrong forum, C++ on Linux most likely will be "native C++", not be "managed .NET code". 2. it has been many years ago I last did this, back then "cygwin" was the answer. Try Googling it. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
Hi, I have one linux cpp executable file. i want how to run this executable file in windows OS?. please give any idea? or urls Regards, M.Mathivanan
If you have Windows 7 Ultimate or Enterprise, you can install the 'Subsystem for Unix-based Applications' (SUA) which you get a Windows compatible gcc compiler with g++ and all the Unix/Linux goodies. You will have to re-compile your C++ file in this new Posix environment for it to run in Windows. For into how to install go to: http://www.suacommunity.com/SUA.aspx[^]
-
Hi, I have one linux cpp executable file. i want how to run this executable file in windows OS?. please give any idea? or urls Regards, M.Mathivanan
mathivanaan wrote:
please give any idea?
1. Recode it so it is a windows code, and then recompile. This could be a lot of work or little work depending on what the executable does. 2. Find/write a simulator/virtual machine that 'runs' an execuble from the targeted system on windows. 3. Create a server that runs on a linux box. It runs the executable. It has a communications API. Your Windows app talks to that server. In the above 2 is probably the most difficult solution by far.