bug-gawk
[Top][All Lists]
Advanced

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

Re: MinGw port of gawkextlib


From: Andrew J. Schorr
Subject: Re: MinGw port of gawkextlib
Date: Fri, 13 May 2022 09:28:50 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, May 12, 2022 at 08:32:09PM +0300, Eli Zaretskii wrote:
> > Date: Thu, 12 May 2022 13:23:31 -0400
> > From: "Andrew J. Schorr" <aschorr@telemetry-investments.com>
> > Cc: mcollado2011@gmail.com, bug-gawk@gnu.org
> > 
> > On Thu, May 12, 2022 at 08:19:55PM +0300, Eli Zaretskii wrote:
> > > If you know that no other extensions installed by Gawk will ever be
> > > needed, then yes, removing that would be a simplification.  But then I
> > > wonder why you added that in the first place.
> > 
> > The question is whether an extension, when running it's own "check" code,
> > would need to pull in other extensions in addition to its own that was
> > just built.
> 
> Yes, that's the issue.

And the answer is that it is required in one case. I ran:

./check_all.sh --prefix=/tmp/gelib --with-gawkextlib=/tmp/gelib

And got this result:

SUCCESS: lib abort aregex csv errno gd haru json lmdb mbs mpfr nl_langinfo 
pgsql reclen redis timex xml
ERROR: select

The issue is that the select extension tests load the time extension
to use the sleep and gettimeofday functions.

Is there some shell command we can run to detect whether the current
platform uses : or ; as the path separator character, or some automake
or autoconf magic to supply this? Maybe we can just test
whether $(pkgextensiondir) contains a backslash character.

Perhaps I need to set up a MinGW environment so I can test this myself.
Is there a simple explanation of how to do this? I know nothing about MinGW.

Regards,
Andy



reply via email to

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