From: Mark Levedahl <mlevedahl@gmail.com>
To: "Torsten Bögershausen" <tboegi@web.de>
Cc: Junio C Hamano <gitster@pobox.com>,
Jonathan Nieder <jrnieder@gmail.com>,
Stephen & Linda Smith <ischis2@cox.net>,
Jason Pyeron <jpyeron@pdinc.us>,
git@vger.kernel.org, Eric Blake <eblake@redhat.com>
Subject: Re: Version 1.8.1 does not compile on Cygwin 1.7.14
Date: Sun, 06 Jan 2013 16:34:32 -0500 [thread overview]
Message-ID: <50E9EDE8.6090200@gmail.com> (raw)
In-Reply-To: <50E9E3C5.4070104@web.de>
On 01/06/2013 03:51 PM, Torsten Bögershausen wrote:
> Hm, I haven't understood the connection between the dll (cygwin1.dll
> ?) which is used in runtime, and the header files which are used when
> compiling. Are they updated at the same time when updating from 1.7.16
> to 1.7.17 ? Until I updated my cygwin 1.7 (following Marks
> recommendation) this did the trick for me: +ifeq ($(shell grep mingw
> /usr/include/w32api/winsock2.h />/dev/null 2>/dev/null && echo y),y) +
> CYGWIN_V15_WIN32API=YesPlease +endif As an alternative, would this be
> easier to read?
>> +# Define CYGWIN_V15_WIN32API for Cygwin versions up to 1.7.16
>
>
The cygwin distribution has a very large number of packages, each with
its own unique version number and update rhythm, just as in any linux
distro. There is no "cygwin version", just a version for each individual
package. So, "Cygwin version 1.7.16" is really nonsensical: there is
only cygwin.dll version 1.7.16. What folks are noticing is a
coincidence in the time when the cygwin dll package updated and when the
old w32api was obsoleted. uname -r reports the cygwin dll version, not
the version of any other package. Note that the cygwin api is "stable",
meaning a package compiled against the 1.7.1 dll will still run against
the current one: updating the cygwin dll does not require other packages
to update.
The only hard linkage here is that the Cygwin developers are maintaining
a legacy cygwin version (v1.5.x) as the newer dll series (v.1.7.x)
dropped support for all Windows versions predating (I think) WinXP. So,
someone on an old Windows version must use the legacy cygwin version
which has not been updated since the first v1.7 dll was released, nor
are there any plans by the developers to ever update the v1.5 packages.
Cygwin 1.5 lives in a separate distribution repository, with packages
frozen in time as of the last updates prior to going to v1.7 (packages
compiled against v1.7 will not run on v.1.5).
So, encountering a v1.5.x dll is a guarantee of using the older w32api
shared with the mingw project, rather than the current one now
maintained by the mingw64 project. However, a cygwin with any v1.7.x dll
could in theory have either w32api installed, or in theory yet another
newer one we don't know about yet. Unless and until the w32api
establishes a version number (independent of the Windows API version),
we have nothing reliable to use.
Therefore, if using the v1.7 series, *update*
Mark
next prev parent reply other threads:[~2013-01-06 21:34 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-06 2:04 Version 1.8.1 does not compile on Cygwin 1.7.14 Stephen & Linda Smith
2013-01-06 3:37 ` Jason Pyeron
2013-01-06 4:22 ` Jason Pyeron
2013-01-06 6:20 ` Stephen & Linda Smith
2013-01-06 6:29 ` Jason Pyeron
2013-01-06 7:23 ` Torsten Bögershausen
2013-01-06 9:32 ` Jonathan Nieder
2013-01-06 9:42 ` Torsten Bögershausen
2013-01-06 9:57 ` Jonathan Nieder
2013-01-06 11:48 ` Mark Levedahl
2013-01-06 12:09 ` Jonathan Nieder
2013-01-06 14:09 ` Stephen & Linda Smith
2013-01-06 19:54 ` Junio C Hamano
2013-01-06 20:51 ` Torsten Bögershausen
2013-01-06 21:34 ` Mark Levedahl [this message]
2013-01-06 21:09 ` Mark Levedahl
2013-01-06 21:33 ` Jason Pyeron
2013-01-06 21:35 ` Junio C Hamano
2013-01-06 21:46 ` Jason Pyeron
2013-01-06 22:00 ` Mark Levedahl
2013-01-06 22:16 ` Mark Levedahl
2013-01-07 5:37 ` Jason Pyeron
2013-01-07 7:29 ` Junio C Hamano
2013-01-07 9:10 ` Pyeron, Jason J CTR (US)
2013-01-08 3:12 ` Mark Levedahl
2013-01-11 20:08 ` Alex Riesen
2013-01-11 20:17 ` Alex Riesen
2013-01-13 18:58 ` Mark Levedahl
2013-01-15 18:47 ` Ramsay Jones
2013-01-20 10:10 ` Jonathan Nieder
2013-01-20 10:48 ` Torsten Bögershausen
2013-01-20 11:06 ` Jonathan Nieder
2013-01-21 5:20 ` [msysGit] " Torsten Bögershausen
2013-01-22 18:38 ` Ramsay Jones
2013-01-22 18:31 ` Ramsay Jones
2013-01-25 23:58 ` Mark Levedahl
2013-01-26 0:11 ` Junio C Hamano
2013-01-26 0:34 ` Eric Blake
2013-01-26 1:03 ` [PATCH/RFC] mingw: rename WIN32 cpp macro to NATIVE_WINDOWS Jonathan Nieder
2013-01-26 14:11 ` Mark Levedahl
2013-01-26 17:21 ` Torsten Bögershausen
2013-01-28 18:29 ` Ramsay Jones
2013-02-25 6:44 ` Junio C Hamano
2013-02-26 4:08 ` Mark Levedahl
2013-02-26 16:40 ` Torsten Bögershausen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E9EDE8.6090200@gmail.com \
--to=mlevedahl@gmail.com \
--cc=eblake@redhat.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=ischis2@cox.net \
--cc=jpyeron@pdinc.us \
--cc=jrnieder@gmail.com \
--cc=tboegi@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).