diff --git a/README.md b/README.md index 11f3b0a1..e9747fa5 100644 --- a/README.md +++ b/README.md @@ -129,41 +129,29 @@ Use `Visual Studio` to build, open `msvc/ReGameDLL.sln` and just select from the #### Linux -* Optional options using `build.sh --compiler=[gcc] --jobs=[4]` (without square brackets) +* Optional options using `build.sh --compiler=[gcc] --jobs=[N] -D[option]=[ON or OFF]` (without square brackets) +
-c=|--compiler=[icc|gcc|clang] - Select preferred C/C++ compiler to build -j=|--jobs=[N] - Specifies the number of jobs (commands) to run simultaneously (For faster building) + +Definitions (-D) +DEBUG - Enables debugging mode +USE_STATIC_LIBSTDC - Enables static linking library libstdc++-* Optional definitions using `build.sh -D[option]=[ON or OFF]` (without square brackets) -
-DEBUG - Enables debugging mode -USE_STATIC_LIBSTDC - Enables static linking library libstdc++ -- -
./build.sh --compiler=intel-
./build.sh --compiler=clang-
./build.sh --compiler=gcc-
./build.sh --compiler=intel+* LLVM (Clang)
./build.sh --compiler=clang+* GCC
./build.sh --compiler=gcc##### Checking build environment (Debian / Ubuntu)
sudo dpkg --add-architecture i386 sudo apt-get update @@ -171,12 +159,16 @@ sudo apt-get install -y gcc-multilib g++-multilib sudo apt-get install -y build-essential sudo apt-get install -y libc6-dev libc6-dev-i386+
1) sudo apt-get install -y gcc g++ 2) sudo apt-get install -y clang+