From: Eason Huang <aqua0210@foxmail.com>
To: emacs-devel@gnu.org
Subject: Can the tree-sitter/build-module/build.sh support Mingw64 on Windows OS
Date: Sat, 10 Dec 2022 16:36:16 +0800 [thread overview]
Message-ID: <tencent_6770F335CA4D6B39A9979B920EA4D98D1F07@qq.com> (raw)
In-Reply-To: <FCA59B15-A385-460D-A894-45725EA55E24@easesoftware.com> (Perry Smith's message of "Fri, 9 Dec 2022 22:11:47 -0600")
Hi emacs-devel team,
Recently the script from admin/notes/tree-sitter/build-module/build.sh
only support macOS and Linux. It would be nice to support Windows system
as well.
I can confirm that we only need to use soext="dll" and it will work well
on mingw64 of msys2.
The $(uname) will return "MINGW64_NT-10.0-22000" on the mingw64.
But I am not sure how to adapt the below code to support mingw64.
from line 6 of build.sh:
```
if [ $(uname) == "Darwin" ]
then
soext="dylib"
else
soext="so"
fi
```
--
Eason Huang
next prev parent reply other threads:[~2022-12-10 8:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-10 4:11 Another nit Perry Smith
2022-12-10 4:56 ` Yuan Fu
2022-12-10 8:36 ` Eason Huang [this message]
2022-12-11 23:37 ` Can the tree-sitter/build-module/build.sh support Mingw64 on Windows OS Richard Stallman
2022-12-12 12:09 ` Eason Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=tencent_6770F335CA4D6B39A9979B920EA4D98D1F07@qq.com \
--to=aqua0210@foxmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.