From 7713f8b6106d0b8bd752af7102abffd9473113a7 Mon Sep 17 00:00:00 2001 From: khlai Date: Mon, 12 Aug 2019 13:11:43 +0200 Subject: [PATCH] Update INSTALL instruction for Mingw debug build --- INSTALL | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/INSTALL b/INSTALL index 195f7dd8..79bdc207 100644 --- a/INSTALL +++ b/INSTALL @@ -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