diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-15 09:06:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-10-15 09:06:39 +0200 |
commit | e392fcf5a849b2cf8bcb4c4308c3121efddff268 (patch) | |
tree | 13cf9df011d288227bfdb24d10c4c738b84898e5 /UPGRADE.cli | |
parent | 733d8509d39dbbc0a7c7145f1fdf8ad4f386e036 (diff) |
Update installation instructions with Clang on Windows
Diffstat (limited to 'UPGRADE.cli')
-rw-r--r-- | UPGRADE.cli | 18 |
1 files changed, 17 insertions, 1 deletions
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 \ " |