Cross-compiling with mingw

Help
2005-12-16
2013-06-04
  • Gianfranco Berardi

    The documentation on the website says that it supports mingw32, but I am a bit confused as to how to build a Windows binary.  Is it a simple change to a Makefile somewhere?  Perhaps instructions on how to cross-compile would be a beneficial addition to the website?

     
    • Lee Thomason

      Lee Thomason - 2005-12-19

      From an MSYS command shell, it's just:

      make

      just like on linux. That will build a windows binary. Of course, Make/Autotools/etc. are *notorious* for "it works on my machine" problems, so you may just have hit a bug.

      lee

       
    • Gianfranco Berardi

      Ah, I didn't know about MSYS.  It shows I have a lot more to learn about cross-compiling.

       
    • Lee Thomason

      Lee Thomason - 2006-01-06

      Ah...MSYS is good. A way to run a quite usable *nix shell in a windows environment.

      Although it isn't cross compiling - cross compiling is when you use a *nix machine to create a Win32 binary or something like that.

      lee

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks