libargp: argp_program_version does not work

Fedin Pavel
Thu Jul 11 10:17:00 GMT 2013


 I have found a problem: argp_program_version string is ignored by libargp.
 I guess the problem happens because of DLL's nature. DLLs cannot contain
unresolved symbols, so the DLL has own version of argp_program_version which
is always initialized to NULL. There's no way to override it.
 Is it possible to fix this somehow ? I guess it can be done if we move this
variable to libargp.dll.a stub library. In this case, a static definition of
this variable will be picked up from there if there's no definition in the

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list