Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Poll: How to Compile C++ code on Ubutu for execution in Windows
This poll is closed.
Makes Sense [PM me]
33.33%
1 33.33%
Are you kidding me?
66.67%
2 66.67%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

C 

Cross Platform C++ Program

Hi,
I am willing to write a software code in C++ for windows, but i use Linux [Ubuntu],
can someone help me in compilation of that Code so that it'd work in Windows too!
🙄
I think this is your answer? https://stackoverflow.com/questions/3878...-subsystem
Though the easiest way imo would be to run a windows 7 vm and compile your code in there
To compile something for a particular platform requires a few things.
1. You need a compiler and linker that will produce the correct binary.
2. You need to link to the proper binaries that are present on that particular platform.

That's about it. It just a matter of downloading a compiler/linker that will output the correct binary format and have the additional header and associated binaries present.
May you be given directions by software engineer document writers.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by GashiDec 9, 2020 10:32 AM 4 320 Dec 9, 2020 10:32 AM
Last Post: GuerillaMethod
[C#] by ExaltedNov 12, 2020 06:16 AM 7 434 Nov 12, 2020 06:16 AM
Last Post: Exalted
[.NET] by ShoeNov 23, 2016 05:30 AM 5 317 Nov 23, 2016 05:30 AM
Last Post: DarkDelta