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

Re: [PATCH 1/4] MSVC: Fix an "unresolved symbol" linker error on cygwin

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 5, 2009, 07:55 UTC
Message-ID
<4AF284EF.2030606@viscovery.net>
In-Reply-To
<4AF1E1FD.1050102@ramsay1.demon.co.uk>
Ramsay Jones schrieb:
Show 5 quoted lines
> Junio C Hamano wrote:
>> Shouldn't this be solved by teaching the Makefile about this new "Cygwin
>> but using MSVC as compiler toolchain" combination?
> 
> Yes. Err... see patch #3 :-P

A clarifiction: Junio talks about using the MSVC tools to build Cygwin programs, that is, to merely substitute Cygwin's gcc by MSVC, but to still link against cygwin's C runtime.

But this is not what this series is about.

When the "MSVC build" of git is made, then the MSVC compiler is used, and this will always use Microsoft libraries in the resulting executables, regardless of whether "make MSVC=1" was called from a "cygwin environment" or from and "msys environment".

This series is about fixing "make MSVC=1" when it is run from a "cygwin environment" by disentangling the MSVC and Cygwin configuration sections in the Makefile.

-- Hannes
Previous: Ramsay JonesNext: Junio C Hamano
Message 5 of 8 in “MSVC: Fix an "unresolved symbol" linker error on cygwin”
  1. 1/4 MSVC: Fix an "unresolved symbol" linker error on cygwinRamsay Jones, Oct 27, 2009
  2. Johannes SixtNov 3, 2009
  3. Junio C HamanoNov 3, 2009
  4. Ramsay JonesNov 4, 2009
  5. Johannes SixtNov 5, 2009
  6. Junio C HamanoNov 5, 2009
  7. Ramsay JonesNov 4, 2009
  8. Johannes SixtNov 5, 2009

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.