Re: argp test failure: test-argp-2.sh

2023-07-11 Thread Andrew Schulman
> Hi, > > Andrew Schulman wrote: > > I'm building argp for Cygwin. The build succeeds, and all of the tests > > pass except for one, test-argp-2.sh. > > For me, on Cygwin, this test passes. > > > The contents of test-suite.log are below. > > ... &g

argp test failure: test-argp-2.sh

2023-07-09 Thread Andrew Schulman
I'm building argp for Cygwin. The build succeeds, and all of the tests pass except for one, test-argp-2.sh. The contents of test-suite.log are below. The error is pretty trivial, and I think it's incorrect. If I understand the source in lib/argp-help.c correctly (https://git.savannah.gnu.org/gitwe

Re: argp: no --version

2011-09-22 Thread Andrew Schulman
> On 09/22/2011 03:18 AM, Andrew Schulman wrote: > > So far, so good. But now when I build, for example, Argp example #2 > > against it, it works but there's no --version option: > > > > $ ./argpex2 --help > > Usage: argpex2 [OPTION...] > > Argp examp

argp: no --version

2011-09-22 Thread Andrew Schulman
gnulib newbie here. Great collection, y'all. I'm trying to build argp from gnulib as a shared library, libargp, for Cygwin. It works, except for one thing: the programs that link against it don't offer a --version option, which argp is supposed to provide automatically. Can someone please tell

Re: [PATCH] version-etc: undefined reference to _version_etc_copyright

2011-09-21 Thread Andrew Schulman
Oh, hi Eric. Fancy meeting you here. > The idea here is that you should use version-etc-fsf if you want FSF > copyrights, and if you don't want FSF copyrights, then use version-etc > and provide your own version_etc_copyright() function that uses your > copyrights. OK, thanks for the explanat

[PATCH] version-etc: undefined reference to _version_etc_copyright

2011-09-21 Thread Andrew Schulman
In the current gnulib, when I extract and try to build argp and argp-version-etc, the build fails with .libs/version-etc.o: In function `version_etc_arn': /home/admin/dev/cygwin/libargp/libargp-20110921/gllib/version-etc.c:84: undefined reference to `_version_etc_copyright' The only module that p