From e392fcf5a849b2cf8bcb4c4308c3121efddff268 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Oct 2019 09:06:39 +0200 Subject: Update installation instructions with Clang on Windows --- UPGRADE.cli | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'UPGRADE.cli') diff --git a/UPGRADE.cli b/UPGRADE.cli index 7bdba6c..c23b26b 100644 --- a/UPGRADE.cli +++ b/UPGRADE.cli @@ -179,18 +179,33 @@ $ bpkg-stage create \ cc \ config.cxx=g++ \ config.cc.coptions=-O3 \ +config.bin.lib=shared \ config.bin.rpath=/usr/local/lib \ config.install.root=/usr/local \ config.install.sudo=sudo \ -For Windows with MSVC (from the Visual Studio command prompt): +For Windows with MSVC (from the Visual Studio \"x64 Native Tools Command +Prompt\"): \ > bpkg-stage create ^ cc ^ config.cxx=cl ^ config.cc.coptions=/O2 ^ + config.bin.lib=shared ^ + config.install.root=C:\build2 +\ + +For Windows with Clang (from a suitable command prompt, see +\l{#bootstrap-windows-clang Bootstrapping on Windows with Clang} for details): + +\ +> bpkg-stage create ^ + cc ^ + config.cxx=clang++ ^ + \"config.cc.coptions=-m64 -O3\" ^ + config.bin.lib=shared ^ config.install.root=C:\build2 \ @@ -201,6 +216,7 @@ For Windows with MinGW (from the command prompt): cc ^ config.cxx=g++ ^ config.cc.coptions=-O3 ^ + config.bin.lib=shared ^ config.install.root=C:\build2 \ " -- cgit v1.1