📝 update readme
This commit is contained in:
parent
0b66227667
commit
7d35e5bbed
23
README.md
23
README.md
|
@ -57,34 +57,31 @@ the interpreter a useful tool in your own projects.
|
|||
|
||||
## __How to Compile__
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
Better download the latest update source of the interpreter and build it! It's quite easy to build this interpreter, what you need are only two things: C++ compiler and the `make`. There is no third-party library used in this project.
|
||||
|
||||
__CAUTION__: If want to use the release zip/tar.gz file to build the interpreter, please read the [__Release Notes__](./doc/dev.md#release-notes) to make sure this release file has no fatal bugs.
|
||||
### __Windows (MinGW-w64)__
|
||||
|
||||
### __`Windows (MinGW-w64)`__
|
||||

|
||||
|
||||
Make sure your MinGW thread model is `posix thread model`, otherwise it may not have the thread library.
|
||||
Make sure MinGW thread model is `posix thread model`, otherwise it may not have the thread library.
|
||||
|
||||
> mkdir build
|
||||
>
|
||||
> mingw32-make nasal.exe -j4
|
||||
|
||||
### __`Windows (Visual Studio)`__
|
||||
### __Windows (Visual Studio)__
|
||||
|
||||

|
||||
|
||||
This project gives a [__CMakelists.txt__](./CMakeLists.txt) for you to create project in `Visual Studio`.
|
||||
|
||||
### __`Linux/macOS/Unix`__
|
||||
### __Linux / macOS / Unix__
|
||||
|
||||
> mkdir build
|
||||
>
|
||||
> make -j4
|
||||
 
|
||||
|
||||
> make -j
|
||||
|
||||
You could choose which compiler you want to use:
|
||||
|
||||
|
|
|
@ -47,35 +47,33 @@ __如果有好的意见或建议,欢迎联系我们!__
|
|||
|
||||
## __编译__
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
我们推荐你下载最新代码包编译,这个项目非常小巧,没有使用任何第三方库,因此编译起来非常轻松,
|
||||
你只需要这两样东西: C++ 编译器以及make程序。
|
||||
推荐下载最新代码包编译,这个项目非常小巧, 没有使用任何第三方库,因此编译起来非常轻松,
|
||||
只需要这两样东西: C++ 编译器以及make程序。
|
||||
|
||||
__注意__: 如果你想直接下载发行版提供的zip/tar.gz压缩包来构建这个解释器,在下载之前请阅读[__发行日志__](../doc/dev_zh.md#发行日志)以保证这个发行版的文件中不包含非常严重的bug。
|
||||
### __Windows 平台 (MinGW-w64)__
|
||||
|
||||
### __`Windows` 平台(`MinGW-w64`)__
|
||||

|
||||
|
||||
一定要确保您的 MinGW thread model 是 `posix thread model`, 否则可能存在没有 thread 库的问题。
|
||||
|
||||
> mkdir build
|
||||
>
|
||||
> mingw32-make nasal.exe -j4
|
||||
|
||||
### __`Windows` 平台(`Vistual Studio`)__
|
||||
### __Windows 平台 (Vistual Studio)__
|
||||
|
||||

|
||||
|
||||
项目提供了 [__CMakeLists.txt__](../CMakeLists.txt) 用于在`Visual Studio`中用这种方式来创建项目。
|
||||
|
||||
### __`Linux/macOS/Unix` 平台__
|
||||
### __Linux / macOS / Unix 平台__
|
||||
|
||||
> mkdir build
|
||||
>
|
||||
> make -j4
|
||||

|
||||

|
||||
|
||||
> make -j
|
||||
|
||||
你也可以通过如下的其中一行命令来指定你想要使用的编译器:
|
||||
|
||||
|
|
Loading…
Reference in New Issue