Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

在Windows下编译QuickJS

llgoer edited this page Aug 10, 2019 · 3 revisions

本文介绍如何在Windows下依赖MSYS2编译QuickJS。

安装MSYS2

这里我们采用清华大学镜像在Windows系统下安装MSYS2。

安装完成后,按照pacman配置配置好镜像源(参考镜像站说明)。

安装QuickJS环境

由于Windows下目前只支持32位系统编译,这里我们安装32位系统的编译环境

# pacman -S mingw-w64-i686-toolchain
# pacman -S mingw-w64-i686-dlfcn
# pacman -S make

至此完成了编译环境的配置

编译QuickJS

现在我们编译QuickJS,首先我们配置下Makefile中的

prefix=/home/Administrator/quickjs

然后执行make install进行编译,完成编译后则在/home/Administrator/quickjs目录下看到quickjs相关的可执行文件。

常见问题

可以在QuickJS中文Issues中提出。

Clone this wiki locally

AltStyle によって変換されたページ (->オリジナル) /