aboutsummaryrefslogtreecommitdiff
path: root/UPGRADE.cli
diff options
context:
space:
mode:
Diffstat (limited to 'UPGRADE.cli')
-rw-r--r--UPGRADE.cli18
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
\
"