PDA

View Full Version : making a windows executable



nbo10
January 27th, 2008, 07:04 PM
Hi all,
I have a c++ app that is really useful. My boss found out about the program and wants a copy. The only problem is that he uses windows. How do I make a windows executable file for him? Thanks

Acglaphotis
January 27th, 2008, 07:09 PM
Use mingw. It is in the repo. It's a cross-compiler for windows. Oh and btw use this options to reduce the size of the executable, or it will end up like 30 times its actual size (no kidding):




strip --strip-all SOMEBINARY.exe

Xealot
January 27th, 2008, 07:09 PM
Hi all,
I have a c++ app that is really useful. My boss found out about the program and wants a copy. The only problem is that he uses windows. How do I make a windows executable file for him? Thanks

Hello!

First, you will have to find out if the code you are want to re-compile uses any OS specific libraries, such as a GUI.
If it does, it wont be so easy for you.

But assuming the code is good to go for win compilation, a quick google search brought this link to me:
http://ubuntuforums.org/showthread.php?t=626932


Hope thats to any help
- X

nbo10
January 27th, 2008, 07:54 PM
Thanks that's what I needed.