aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-15 09:15:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-15 09:15:21 +0200
commitf2800e60c4bb20615f27d0db1d3c5e782117a1f7 (patch)
tree10b2ffe6d196798dee9fb69745d1ec73a36dbe6b
parente392fcf5a849b2cf8bcb4c4308c3121efddff268 (diff)
Add note on only building shared libraries to installation instructions
-rw-r--r--BOOTSTRAP-UNIX.cli6
-rw-r--r--BOOTSTRAP-WINDOWS-CLANG.cli6
-rw-r--r--BOOTSTRAP-WINDOWS-MINGW.cli6
-rw-r--r--BOOTSTRAP-WINDOWS-MSVC.cli6
4 files changed, 20 insertions, 4 deletions
diff --git a/BOOTSTRAP-UNIX.cli b/BOOTSTRAP-UNIX.cli
index cc10512..c9cf4b0 100644
--- a/BOOTSTRAP-UNIX.cli
+++ b/BOOTSTRAP-UNIX.cli
@@ -217,7 +217,8 @@ At the next step we will use \c{bpkg} to build and install the entire
toolchain. If for some reason you prefer not to build from packages (for
example, because the machine is offline), then you can convert this step into
the \"final\" installation and skip the rest. For this you will need to change
-the \c{configure} and \c{install} command lines above along these lines:
+the \c{configure} and \c{install} command lines above along these lines (see
+also a note on the following step about only building shared libraries):
\
$ build2/build2/b-boot configure \
@@ -256,6 +257,9 @@ $ bpkg-stage create \
config.install.sudo=sudo
\
+\N|The above configuration will only build shared libraries. If you would like
+to build both shared and static, remove \c{config.bin.lib=shared}.|
+
Next, we add the package repository, build, and install:
\
diff --git a/BOOTSTRAP-WINDOWS-CLANG.cli b/BOOTSTRAP-WINDOWS-CLANG.cli
index 56ac443..0373e86 100644
--- a/BOOTSTRAP-WINDOWS-CLANG.cli
+++ b/BOOTSTRAP-WINDOWS-CLANG.cli
@@ -149,7 +149,8 @@ At the next step we will use \c{bpkg} to build and install the entire
toolchain. If for some reason you prefer not to build from packages (for
example, because the machine is offline), then you can convert this step into
the \"final\" installation and skip the rest. For this you will need to change
-the \c{configure} and \c{install} command lines above along these lines:
+the \c{configure} and \c{install} command lines above along these lines (see
+also a note on the following step about only building shared libraries):
\
> build2\build2\b-boot configure ^
@@ -183,6 +184,9 @@ previous step and you may want/need to make similar adjustments.
config.install.root=C:\build2
\
+\N|The above configuration will only build shared libraries. If you would like
+to build both shared and static, remove \c{config.bin.lib=shared}.|
+
Next, we add the package repository, build, and install:
\
diff --git a/BOOTSTRAP-WINDOWS-MINGW.cli b/BOOTSTRAP-WINDOWS-MINGW.cli
index 18835d3..bb3c7a3 100644
--- a/BOOTSTRAP-WINDOWS-MINGW.cli
+++ b/BOOTSTRAP-WINDOWS-MINGW.cli
@@ -151,7 +151,8 @@ At the next step we will use \c{bpkg} to build and install the entire
toolchain. If for some reason you prefer not to build from packages (for
example, because the machine is offline), then you can convert this step into
the \"final\" installation and skip the rest. For this you will need to change
-the \c{configure} and \c{install} command lines above along these lines:
+the \c{configure} and \c{install} command lines above along these lines (see
+also a note on the following step about only building shared libraries):
\
> build2\build2\b-boot configure ^
@@ -185,6 +186,9 @@ previous step and you may want/need to make similar adjustments.
config.install.root=C:\build2
\
+\N|The above configuration will only build shared libraries. If you would like
+to build both shared and static, remove \c{config.bin.lib=shared}.|
+
Next, we add the package repository, build, and install:
\
diff --git a/BOOTSTRAP-WINDOWS-MSVC.cli b/BOOTSTRAP-WINDOWS-MSVC.cli
index 586aaf6..9184765 100644
--- a/BOOTSTRAP-WINDOWS-MSVC.cli
+++ b/BOOTSTRAP-WINDOWS-MSVC.cli
@@ -123,7 +123,8 @@ At the next step we will use \c{bpkg} to build and install the entire
toolchain. If for some reason you prefer not to build from packages (for
example, because the machine is offline), then you can convert this step into
the \"final\" installation and skip the rest. For this you will need to change
-the \c{configure} and \c{install} command lines above along these lines:
+the \c{configure} and \c{install} command lines above along these lines (see
+also a note on the following step about only building shared libraries):
\
> build2\build2\b-boot configure ^
@@ -157,6 +158,9 @@ previous step and you may want/need to make similar adjustments.
config.install.root=C:\build2
\
+\N|The above configuration will only build shared libraries. If you would like
+to build both shared and static, remove \c{config.bin.lib=shared}.|
+
Next, we add the package repository, build, and install:
\