From: Charles Wilson <cwilson@ece.gatech.edu>
To: Robert Collins <robert.collins@itdomain.com.au>
Cc: Corinna Vinschen <cygwin@cygwin.com>, cygwin@sources.redhat.com
Subject: Re: cygintl.dll missing
Date: Wed, 14 Nov 2001 14:25:00 -0000 [thread overview]
Message-ID: <3BFBEDA2.5050003@ece.gatech.edu> (raw)
Message-ID: <20011114142500.5e001IbvdkxyFCm6x_THy1raZ8zwaMvVDKLurMrjZxE@z> (raw)
In-Reply-To: <002a01c17270$1641a8f0$0200a8c0@lifelesswks>
Robert Collins wrote:
>>Yeah, I'm surprised, too. Vim requires gettext in
>>
> setup.hint/setup.ini
>
>>so clicking on vim should activate gettext as well.
>>
>
> It will. What is probably happening is that folk are clicking on gettext
> until it is selected, and then clicking on vim, which means that they
> have selected the prev gettext version.
Well, the *real* problem here is that gettext-0.10.38-2's cygintl.dll
exports some symbols that gettext-0.10.35p1-2's cygintl.dll does not.
Therefore, 38's dll is backward compatibile with apps that use 35p1-2's
DLL, but 35p1-2 is not *forward* compatible.
I don't know how to solve this problem. The libtool versioning scheme
-- as mapped to the windows dll structure -- implies that the version
number should NOT change when symbols are ADDED to the interface, right?
In classic libtool versioning, let's say 35p1-2 is version 2:3:1.
According to http://www.cl.cam.ac.uk/texinfodoc/libtool_6.html, when we
add to the interface, we should increment c and a, but set r to 0.
Therefore, 38's revision number is 3:0:2 (I'm ignoring the -36 and -37
releases).
However, under the windows versioning scheme, the DLL name is
"cygfoo-$(c - a).dll" -- that is, the version number indicates the
earlist interface supported by the DLL:
35p1-2: cygintl-$(2 - 1).dll == cygintl-1.dll
38: cygintl-$(3 - 2).dll -- cygintl-1.dll
---> no versioning change (since cygintl was originally released without
versioning info, I'm not going to uselessly add versioning information
until there is a CHANGE in that info. So, right now, 35p1-2 AND 38
still contain merely "cygintl.dll"
In most cases, these two dll's are interchangeable -- UNLESS one
actually USES the added interfaces. Like bind_text_whatever. This is a
problem that really just can't be solved on the windows platform --
unless you want to revision EVERY release of a DLL differntly ( e.g.
don't use the $(c - a) thing, but use $(c)-$(r)-$(a) instead.) But
then, given the limitations of the windows runtime loader, you'd really
be better off not doing DLL's at all and just linking everything
statically. :-P
So, to repeat: this illustrates a problem with gettext (more globally,
with dll versioning on windows) but I don't know how to solve it.
Except "update your gettext package". Sigh.
--Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2001-11-21 20:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-13 10:13 Martin Vit
2001-11-13 12:07 ` Charles Wilson
2001-11-13 12:10 ` Larry Hall (RFK Partners, Inc)
2001-11-14 1:37 ` Corinna Vinschen
2001-11-14 1:47 ` Robert Collins
2001-11-14 2:03 ` Robert Collins
2001-11-14 4:44 ` Corinna Vinschen
2001-11-14 5:06 ` Robert Collins
2001-11-21 1:50 ` Robert Collins
2001-11-21 1:44 ` Corinna Vinschen
2001-11-14 14:06 ` Charles Wilson [this message]
2001-11-14 14:25 ` Charles Wilson
2001-11-14 14:35 ` Robert Collins
2001-11-14 14:36 ` Robert Collins
2001-11-14 15:35 ` Christopher Faylor
2001-11-14 18:15 ` Jong B. Lee
2001-11-21 16:34 ` Jong B. Lee
2001-11-21 15:39 ` Christopher Faylor
2001-11-21 13:05 ` Robert Collins
2001-11-21 12:34 ` Charles Wilson
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3BFBEDA2.5050003@ece.gatech.edu \
--to=cwilson@ece.gatech.edu \
--cc=cygwin@cygwin.com \
--cc=cygwin@sources.redhat.com \
--cc=robert.collins@itdomain.com.au \
/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.
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).