I have heard of WINE but I don't like it because it's slow on the computers I have tested and almost always crashes. It also has some unpleasant looking gui.
I am wondering if there is a "win32" library in c/c++ for linux that produces native linux code
so that if I have my source code for windows, I can just recompile and produce a working linux application. Is this possible?
Asked
Active
Viewed 8,410 times
4
-
2Would you call it wincyg, or cyglin? – Marcelo Cantos May 07 '10 at 11:18
-
What windows functions would you need? The reason wine is slow / buggy for some of them is that there are millions and wine concentrates on those most used. – josefx May 07 '10 at 12:50
3 Answers
3

Bastien Léonard
- 60,478
- 20
- 78
- 95
-
yes, I have heard of qt. But as far as i know , it does not support win32 calls. Like most programmers i wonder if it is possible to avoid learning a new api for graphics – Dr Deo May 07 '10 at 11:19
-
2@stakx: I agree, but native APIs aren't designed to be portable. If he wants to write code which will result in native executables on Windows and Linux with a good-looking UI, he has to use something else. – Bastien Léonard May 07 '10 at 11:50
-
+1 These portable libraries will also make it possible to compile your program for Mac. For a C++ programmer, these libraries are well worth the trouble to learn. – Emile Cormier May 07 '10 at 12:17
0
I dont think you will find something that complete. But if you look for something that provides some windows API under Linux then look at: windows to linux port library

sostim
- 11
- 1