bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 0/4] New getprogname module


From: Jim Meyering
Subject: Re: [PATCH v2 0/4] New getprogname module
Date: Tue, 6 Sep 2016 08:05:25 -0700

On Tue, Sep 6, 2016 at 6:49 AM, Pino Toscano <address@hidden> wrote:
> Hi Jeremy,
>
> On Tuesday, 6 September 2016 13:13:52 CEST T J wrote:
>> Anyway, it appears that this has not been tested on Windows/MinGW as
>> it currently does not work. Everything worked fine with the old
>> progname module.
>>
>> A sample build log is here: 
>> https://ci.appveyor.com/project/fontforge/fontforge/build/1.0.32
>
> I don't have a mingw toolchain myself, so sorry it broke.  OTOH, I read
> that mingw had the program_invocation_name and
> program_invocation_short_name variables (specific to GNU libc)
> implemented as well few years ago.
>
> I guess this needs help from somebody with mingw experience.

>From the output of that mingw configure run, it appears they are not
declared -- at least not in any header included by this particular
test program:

  checking whether program_invocation_name is declared... no
  checking whether program_invocation_short_name is declared... no

Searched myself and found this fine summary from 2010 by Bruno Haible:
https://lists.gnu.org/archive/html/bug-gnulib/2010-12/msg00249.html
That implies that (at least in 2010), one would have to invoke the
get_program_canonicalized_name function on mingw.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]