diff --git a/README.md b/README.md index 65351b7..1b6107a 100644 --- a/README.md +++ b/README.md @@ -122,15 +122,11 @@ __CAUTION__: If want to use the release zip/tar.gz file to build the interpreter ![clang++](https://img.shields.io/badge/LLVM-clang++-262D3A?style=flat-square&logo=LLVM) ![vs](https://img.shields.io/badge/Visual_Studio-MSVC-5C2D91?style=flat-square&logo=visualstudio) -Use g++(`MinGW-w64`) or MSVC(`Visual Studio`) on __`Windows`__ platform. Download MinGW-w64 [__HERE__](https://www.mingw-w64.org/downloads/)(Visual Studio also has this). +Use g++(`MinGW-w64`) or MSVC(`Visual Studio`) on __`Windows`__ platform. Download MinGW-w64 [__HERE__](https://www.mingw-w64.org/downloads/)(Visual Studio also has this), and use g++/clang++ on __`linux/macOS/Unix`__ platform (we suggest `clang`). -> $(CXX) -std=c++11 -O3 main.cpp -o nasal.exe -fno-exceptions -static +We could build the interpreter using `makefile`. -Or use g++/clang++ on __`linux/macOS/Unix`__ platform (we suggest clang). - -> $(CXX) -std=c++11 -O3 main.cpp -o nasal -fno-exceptions -ldl - -Or using makefile,`mingw32-make` is __`Windows(MinGW-w64)`__ platform's `make`: +`mingw32-make` is __`Windows(MinGW-w64)`__ platform's `make`: > mingw32-make nasal.exe > @@ -140,13 +136,13 @@ on __`linux/macOS/Unix`__: > make nasal -You could choose which compiler you want to use by add this after the command: +You could choose which compiler you want to use: -> CXX=clang++ +> make nasal CXX=clang++ > -> CXX=g++ +> make nasal CXX=g++ > -> CXX=... +> make nasal CXX=... If you think `-O3` isn't that safe and stable, you could choose: @@ -167,55 +163,10 @@ Use these commands to get version of interpreter: > ./nasal -v | --version -```bash - __ _ - /\ \ \__ _ ___ __ _| | - / \/ / _` / __|/ _` | | - / /\ / (_| \__ \ (_| | | - \_\ \/ \__,_|___/\__,_|_| -nasal ver : 10.0 -c++ std : 201103 -thanks to : https://github.com/andyross/nasal -code repo : https://github.com/ValKmjolnir/Nasal-Interpreter -code repo : https://gitee.com/valkmjolnir/Nasal-Interpreter -lang info : http://wiki.flightgear.org/Nasal_scripting_language -input to get help . -``` - Use these commands to get help(see more debug commands in help): > ./nasal -h | --help -```bash - ,--#-, -<3 / \____\ <3 - |_|__A_| -nasal