Computing.Net > Forums > Linux > Convert .out to .exe

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Convert .out to .exe

Reply to Message Icon

Name: Sumanth Sharma
Date: September 10, 2003 at 05:57:56 Pacific
OS: Redhat Linux 9 Profession
CPU/Ram: P2 333/ 128 MB
Comment:

How do i convert linux executables like .out, .bin to windows executable( .exe )



Sponsored Link
Ads by Google

Response Number 1
Name: Trip
Date: September 10, 2003 at 06:50:21 Pacific
Reply:

Compile your programs on a windows machine with a compiler for windows


0

Response Number 2
Name: Sumanth Sharma
Date: September 10, 2003 at 06:52:41 Pacific
Reply:

Suppose I have a file a.out
Now is there some utitly u know to convert it to .exe


0

Response Number 3
Name: C_Legend
Date: September 10, 2003 at 18:42:50 Pacific
Reply:

Sorry, I know of no such utility.

Since Linux is free, why is this a problem? Simply install Linux as the client operating system and use the Linux executables.

If you insist on Windows, do as Trip says. You need a Win32 compiler, not a Linux compiler, to create executables that will run on Windows. If you'd like to make your a.out file executable (if it isn't already), do this from a Linux command prompt:

# chmod +x a.out

Then, execute it like this:

# ./a.out

If you'd like it to execute it (sort of) in Windows, you could telnet (or ssh) to your Linux machine from Windows and then do the above. :-)


0

Response Number 4
Name: Rick
Date: September 11, 2003 at 08:15:03 Pacific
Reply:

provided of course that the program was actually written for use on windows.

just re-compiling it on a win32 complier wont' make it work if it's not written for windows.


0

Response Number 5
Name: C_Legend
Date: September 11, 2003 at 13:59:57 Pacific
Reply:

That's a good point, Rick, although I would say that it doesn't necessary have to be "written for Windows", as portable code can exist. But, your statement does help as to my idea of switching to Linux on the desktop, as the executables are currently created for Linux.


0

Related Posts

See More



Response Number 6
Name: Sean Miller
Date: September 15, 2003 at 02:40:43 Pacific
Reply:

Are we sure that we've actually understood what Sumanth is trying to do here? I am not... it is clear that they have some form of Linux program, but it is unclear whether they have the source code and whether it interacts with X etc.

Sumanth, could you explain the context in which you are trying to do this? There may be an alternative way to reach your goal...

Sean


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Convert .out to .exe

Convert Divx to MPEG www.computing.net/answers/linux/convert-divx-to-mpeg-/28829.html

JAVA code to EXE compiler www.computing.net/answers/linux/java-code-to-exe-compiler/21664.html

convert string to lowercase www.computing.net/answers/linux/convert-string-to-lowercase/25683.html