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

Re: git not compiling under MSYS2

From
Carlo Marcelo Arenas Belón <carenas@gmail.com>
Date
Apr 29, 2022, 20:31 UTC
Message-ID
<20220429203155.ve5iemdgr6mualvp@carlos-mbp.lan>
In-Reply-To
<CAKepmajpJ0Nhr0SPNicg6djhH36f+dT_SHrb7pOEK7J0eXYuFA@mail.gmail.com>
On Fri, Apr 29, 2022 at 02:40:14PM -0400, Jack Adrian Zappa wrote:
> Anyone have any idea why it's not building?
because the codebase doesn't support that environment yet AFAIK.

I'd been successful building git in windows with MinGW64 gcc (both 64 and 32 bit), Visual Studio's cl and even the clang that comes as an option in that last one (which uses the clang-cl interface)

If you want to build it in an MSYS2 like environment the best option is to use the Git for Windows SDK[1] which AFAIK is based on one of the MSYS2 variants (most likely the one with gcc and the old crt)

Carlo
[1] https://github.com/git-for-windows/build-extra/releases/tag/git-sdk-1.0.8
Previous: Jack Adrian ZappaNext: Johannes Schindelin
Message 2 of 3 in “git not compiling under MSYS2”
  1. Jack Adrian ZappaApr 29, 2022
  2. Carlo Marcelo Arenas BelónApr 29, 2022
  3. Johannes SchindelinJul 26, 2022

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.