954,162 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How can I port a Linux application to Windows?

Hey

I was wondering how I could port and comply a Linux application to run it under Windows?

The application I want to port is Cheese.

riahc3
Posting Pro
525 posts since May 2008
Reputation Points: 50
Solved Threads: 1
 

there are runtime environments like cygwin, which gives you the
source code level compability. But you have to compile the entire
source code targert as win32 binary.
http://www.cygwin.com/

but there are supported under some constraints.You need some
little change in you're code base.

NicAx64
Posting Pro
534 posts since Mar 2009
Reputation Points: 86
Solved Threads: 43
 

there are runtime environments like cygwin, which gives you the source code level compability. But you have to compile the entire source code targert as win32 binary. http://www.cygwin.com/

but there are supported under some constraints.You need some little change in you're code base.

A bit more explanation please :)

I install Cygwin then I (in Cygwin, hoping it has a GUI frontend) comply it (Cheese's source) as a Win32 binary? And thats it?

riahc3
Posting Pro
525 posts since May 2008
Reputation Points: 50
Solved Threads: 1
 

there is a include folder in the where cygwin installed. when you
search include files they should search on these files. So set up
the include search path to that include directory.

I honestly don't know how much GUI support as a font end from the
cygwin. and you can't use the GTK like things , try to strict to the
xlib , it is supported by cygwin. for other GUI frameworks you need
to download the libraries separately.

NicAx64
Posting Pro
534 posts since Mar 2009
Reputation Points: 86
Solved Threads: 43
 

I actually contacted the author of Cheese and he said he be willing to do it but he doesnt understand enough of Windows to be able to port it himself so he needs some help...

Any takers?

riahc3
Posting Pro
525 posts since May 2008
Reputation Points: 50
Solved Threads: 1
 

you have to compile the entire
source code targert as win32 binary.
http://www.cygwin.com/

vincent2085
Junior Poster in Training
53 posts since Aug 2009
Reputation Points: -22
Solved Threads: 4
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You