bug-gawk
[Top][All Lists]
Advanced

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

Re: build on Windows: shared object extension not set to 'dll' (to 'so'


From: arnold
Subject: Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead)
Date: Mon, 23 Dec 2019 00:41:37 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Eli Zaretskii <address@hidden> wrote:

> > From: "Jannick" <address@hidden>
> > Date: Sun, 22 Dec 2019 17:01:45 +0100
> > Cc: address@hidden
> > 
> > For your review attached a tiny patch designed to be as minimal as possible.
> > The windows platform iff EXEEXT='.exe' which, I believe, is safe.  Only an
> > .exe calls a .dll.
>
> Not really safe, IMO, since the DJGPP (a.k.a. "MSDOS") port of Gawk
> also uses .exe, but doesn't use .dll for dynamically loaded libraries.

Since neither DJGPP nor MingGW use configure, it shouldn't be
a problem, I would think.  I didn't think that DJGPP even supported
loading dlls.

I think Janick is using MSYS2, which is essentially Cygwin.

> > (NB: I did not choose one of the other options I could currently think of:
> > 1/ using $os which currently fails for MSVC (so less reliable) or 2/
> > checking if one of the cpp macros __CYGWIN__, _WIN32 or _MSC_VER provided by
> > the compiler is defined (OK for now until another Windows compiler family
> > might enter the scene, but who knows)).
>
> AFAIK, Gawk no longer supports building with MSVC.

I don't think it ever did support it.

Thanks,

Arnold



reply via email to

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