Update INSTALL instruction for Mingw debug build

pull/3/head
khlai 2019-08-12 13:11:43 +02:00 committed by Hleb Valoshka
parent 7e52983c19
commit 7713f8b610
1 changed files with 11 additions and 0 deletions

11
INSTALL
View File

@ -168,6 +168,17 @@ Configure and build:
Instead of N, pass a number of CPU cores you want to use during a build.
To build in debug configuration, you have to use lld linker instead of the
default linker in gcc.
pacman -S mingw-w64-x86_64-lld mingw-w64-x86_64-lldb
Follow by:
cmake .. -G "MSYS Makefiles" -DENABLE_WIN=OFF -DCMAKE_CXX_FLAGS='-fuse-ld=lld'
Then do mingw32-make.exe.
Celestia Install instructions for OS X