Porting from Linux to windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lakshmyb
    New Member
    • Dec 2008
    • 2

    Porting from Linux to windows

    Hi,

    Currently I am trying to port my application from Linux to windows.
    I need some inputs on the following:

    1. how easily the sockets can be ported from Linux to Windows
    2. whether I have any windows equivalent for gcov, valgrind, xterm etc
    3. how easily the shell scripts can be ported to Windows

    Please help.

    Regards,
    Lakshmy
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    1. Probably the easiest of the three, WinSock is supposedly a Berkley Sockets implementation although my understanding is that it is not perfect.
    2. Hard for me to say, I know windows has no standard xterm implementation although I think there are 3rd party implementations . I am not familiar with the others.
    3. Not well onto the default Windows shell. But there are readily available alternatives like Windows Power Shell or cygwin (which then gives you a bash shell).

    Comment

    • Laharl
      Recognized Expert Contributor
      • Sep 2007
      • 849

      #3
      It is possible to have an X implementation with cygwin, but, frankly, it's a buggy mess. You can get gcov because there are gcc ports to windows (install it in a cygwin environment, for example).

      Comment

      • Lakshmyb
        New Member
        • Dec 2008
        • 2

        #4
        I want to know if there is any impact on performance if I use cygwin.

        I am planning to use cygwin libraries for porting from Linux to Windows. I guess Cygwin support pthreads on windows.

        Has anyone tried this? Is there any performance tradeoff if I do this?

        Regards,
        Lakshmyb

        Comment

        Working...