This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: [ITP] znc 1.6.0
- From: Alexey Sokolov <alexey+cygwin at asokolov dot org>
- To: cygwin-apps at cygwin dot com
- Date: Sun, 19 Jul 2015 20:54:49 +0100
- Subject: Re: [ITP] znc 1.6.0
- Authentication-results: sourceware.org; auth=none
- References: <55AA752A dot 3000303 at asokolov dot org> <55AABF89 dot 7030306 at asokolov dot org> <55AADC2C dot 1070802 at asokolov dot org> <55AB5EC2 dot 2060400 at asokolov dot org> <20150719100317 dot GD19825 at calimero dot vinschen dot de> <55ABA522 dot 9000008 at asokolov dot org> <87d1zogku1 dot fsf at Rainer dot invalid> <55ABEC90 dot 3040106 at asokolov dot org> <55ABECDD dot 9040805 at asokolov dot org> <87zj2sezel dot fsf at Rainer dot invalid>
19.07.2015 20:10, Achim Gratz пишет:
> Alexey Sokolov writes:
>>> Is "1" some special number which should be used?
>
> Just some number that gets bumped whenever the ABI changes
> (i.e. applications that link against the library would need to be
> recompiled).
>
Well, in that case 1.6 works fine. When 1.7.0 will be released, the
filename will be changed to cygznc-1.7.dll.
>>> ZNC 1.6.0 is supposed to be ABI-compatible with ZNC 1.6.1 (when it will
>>> be released), so third-party modules compiled against cygznc-1.6.dll
>>> from 1.6.0 should work fine with cygznc-1.6.dll from 1.6.1 without
>>> recompilation.
>
> I've just looked at Debian and openSUSE and both do not have a ZNC
> library?
>
On Linux the whole program is in /usr/bin/znc executable, and modules
(opened via dlopen()) use symbols from it.
But it's not possible on Windows, because linker requires all used
symbols to be found at build time instead of runtime. So for Windows,
most of code needed to be moved to a DLL, which both modules and (now
small) znc.exe can link to.
>>> That's why I chose 1.6 as version number for the filename.
>>>
>>> Also, most of .dll files I see in /bin have "-" before the number,
>>> that's why I've put it here too...
>
> You ahould ask Yaakov, but I seem to remember that the preferred way to
> name new libraries is now without the hyphen.
>
Hm, ok...
Yaakov, what's the plan?