• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

how to make exe in linux?

nuttervm

Golden Member
how do i make my .out file in linux into an .exe that can be run on any system? i made a calculator in c++ and assembler for a class(all the math is done in assembler), and i'd like to know if i could compile it to an executable file so i could simply run it on a windows machine for demonstration. (otherwise i'd have to do it from a console remotely)
 
yeah except this is coded in a .cc file and the only windows compiler i have it ms c++. i'd have to change a bunch of the code to make it compatible. the teacher wants us to be coding it in linux, so i cant really change it to ms syntax.
 
if you want it to run on any system, you'll need to code it in java or have an x86 emulator on the other platform.
 
well i dont really mean any other platform. i mostly mean for it to be in windows and linux. already works in linux, now i want to make it work in winblows
 
I was under the impression that if you coded using ANSI standards, the code would be portable.

Unless you use something specific to a particular architecure, api or OS, you should be able to compile it under windows.

I could be wrong though ...
 
maybe i need a new windows compiler? minor things like in g++ in linux i declare aan asm statement asm(" &quot😉 with teh code inside. with msc++ 6 it needs to be __asm (" &quot😉 small differences, but i want the code to work on all x86 machines.
 
Back
Top