[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
build on Windows: shared object extension not set to 'dll' (to 'so' inst
From: |
Jannick |
Subject: |
build on Windows: shared object extension not set to 'dll' (to 'so' instead) |
Date: |
Sun, 22 Dec 2019 13:45:01 +0100 |
Hi everyone,
when building gawk on a Windows system, the expected extension of shared
objects is effectively set to 'so' instead of 'dll'; see the following snip
from configure.ac:
dnl Crude but small hack to make plug-ins work on Mac OS X
dnl We should really use the libtool value for shrext_cmds, but that
dnl is not available here, since we do not use libtool at the top level.
case $acl_shlibext in
dylib) GAWKLIBEXT=so ;; # MacOS uses .dylib for shared libraries,
but libtool uses .so for modules
*) GAWKLIBEXT=$acl_shlibext ;;
esac
AC_SUBST(GAWKLIBEXT)
This makes the use of gawk extensions (dll's) on Windows a bit difficult,
since gawk has a hard time to find extension files: e.g. '@load "abc"' (in a
gawk script) or '-labc' (on the command line) does not work as on other
platforms, unfortunately.
Happy to send a minimal patch fixing this by setting GAWKLIBEXT=dll on
Windows.
Best,
J.
- build on Windows: shared object extension not set to 'dll' (to 'so' instead),
Jannick <=
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), arnold, 2019/12/22
- RE: build on Windows: shared object extension not set to 'dll' (to 'so' instead), Jannick, 2019/12/22
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), Eli Zaretskii, 2019/12/22
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), arnold, 2019/12/23
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), Eli Zaretskii, 2019/12/23
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), arnold, 2019/12/23
- RE: build on Windows: shared object extension not set to 'dll' (to 'so' instead), Jannick, 2019/12/25
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), Eli Zaretskii, 2019/12/25
- Re: build on Windows: shared object extension not set to 'dll' (to 'so' instead), arnold, 2019/12/22