How to make a program compiled in Linux executable in Windows?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nmr
    New Member
    • Feb 2008
    • 2

    How to make a program compiled in Linux executable in Windows?

    Hello,

    I am currently developing a program in linux using the qt 3 toolkit. I want to eventually be able to create an executable file of this program for a windows environment. How would I go about doing this?

    Thank you,
    Natalie Rabinovich
  • davmt
    New Member
    • Feb 2008
    • 3

    #2
    I think you need a cross-compiler such as MINGW so you can compile Win32 applications on your Linux IDE.

    Comment

    • nmr
      New Member
      • Feb 2008
      • 2

      #3
      Do I need a cross-compiler if I just want to execute on windows? I am doing all the developing in linux.

      Thank you

      Comment

      • davmt
        New Member
        • Feb 2008
        • 3

        #4
        Well, personally I have never tried it, but if you use this compiler to compile your project it (and you can compile using your Linux IDE using the MinGW compiler) will supposedly create a Win32 executable so you can run your project on Windows. However it would be better if somebody with actual experience could elaborate on this.

        Comment

        Working...