git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Possibility of a MinGW version?

From
RMRob McDonald <robm@asdl.gatech.edu>
Date
Dec 24, 2005, 13:51 UTC
Message-ID
<009701c60891$50893fd0$6900a8c0@sps>
In-Reply-To
<43AD1E63.4040103@op5.se>
Show 8 quoted lines
> The worst trouble you're likely to run into is all the hardcoded paths.
> They are everywhere and ofcourse use the / for path entity separation.
>
> The fact that there are 39 bash'ish shell-scripts does little to help a
> native port, and although they can be fairly easily replaced by "real"
> programs it still means quite a bit of work with little real value for
> the unix-version, so I'm guessing you'll have to write those up for
> yourself.

MSYS is a minimal system that includes ports of all build-chain tools you need to get Makefiles to work. I would envision using it along with native ports of Perl, Tk/Tcl, etc.

> Is there some reason you can't install Cygwin, which effectively
> overcomes both those problems?

I've had consistently lousy luck with Cygwin which has left a bad taste in my mouth. Cygwin is generally a lot slower than Mingw, although that is most noticeable when you're making extensive use of math.h. Also, it seems that every time I install some package in Cygwin, something else I've installed gets messed up. It just seems to me that there isn't any reason for an efficient command-line tool like git to depend on a large unmaintained project like Cygwin.

Of course, one could use -mno-cygwin (or whatever it is) to use the MinGW headers when compiling in Cygwin as an intermediate step. That would give any speed advantages.

However, I've had great luck porting Linux apps using the gcc toolchain to Windows using MinGW. All these programs 'just worked'. However, none of them really did things outside the realm of simple, portable C and Fortran. Most of them have been old engineering analysis codes which have been ported a dozen times in their life anyway.

Thanks for the comments.  The best idea may be to just try it....
            Rob
Previous: David BrownNext: Johannes Schindelin
Message 7 of 16 in “Possibility of a MinGW version?”
  1. Rob McDonaldDec 24, 2005
  2. Andreas EricssonDec 24, 2005
  3. Sven VerdoolaegeDec 24, 2005
  4. Andreas EricssonDec 24, 2005
  5. Johannes SchindelinDec 24, 2005
  6. David BrownDec 24, 2005
  7. Rob McDonaldDec 24, 2005
  8. Johannes SchindelinDec 24, 2005
  9. Rob McDonaldDec 25, 2005
  10. Christopher FaylorDec 31, 2005
  11. H. Peter AnvinDec 31, 2005
  12. Christopher FaylorJan 1, 2006
  13. Christopher FaylorDec 31, 2005
  14. Junio C HamanoDec 24, 2005
  15. Andreas EricssonDec 24, 2005
  16. Junio C HamanoDec 25, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.