How can I port a Linux application to Windows?

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: May 2008
Posts: 82
Reputation: riahc3 is an unknown quantity at this point 
Solved Threads: 0
riahc3 riahc3 is offline Offline
Junior Poster in Training

How can I port a Linux application to Windows?

 
0
  #1
Sep 1st, 2009
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.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 311
Reputation: NicAx64 will become famous soon enough NicAx64 will become famous soon enough 
Solved Threads: 18
NicAx64's Avatar
NicAx64 NicAx64 is offline Offline
Posting Whiz

Re: How can I port a Linux application to Windows?

 
0
  #2
Sep 1st, 2009
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.
Nothing like a kernel pannic !
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 82
Reputation: riahc3 is an unknown quantity at this point 
Solved Threads: 0
riahc3 riahc3 is offline Offline
Junior Poster in Training

Re: How can I port a Linux application to Windows?

 
0
  #3
Sep 2nd, 2009
Originally Posted by NicAx64 View Post
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?
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 311
Reputation: NicAx64 will become famous soon enough NicAx64 will become famous soon enough 
Solved Threads: 18
NicAx64's Avatar
NicAx64 NicAx64 is offline Offline
Posting Whiz

Re: How can I port a Linux application to Windows?

 
0
  #4
Sep 2nd, 2009
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.
Nothing like a kernel pannic !
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 82
Reputation: riahc3 is an unknown quantity at this point 
Solved Threads: 0
riahc3 riahc3 is offline Offline
Junior Poster in Training

Re: How can I port a Linux application to Windows?

 
0
  #5
Sep 2nd, 2009
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?
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 53
Reputation: vincent2085 can only hope to improve 
Solved Threads: 4
vincent2085 vincent2085 is offline Offline
Banned

Re: How can I port a Linux application to Windows?

 
0
  #6
Sep 12th, 2009
you have to compile the entire
source code targert as win32 binary.
http://www.cygwin.com/
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC