From f2800e60c4bb20615f27d0db1d3c5e782117a1f7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 15 Oct 2019 09:15:21 +0200 Subject: Add note on only building shared libraries to installation instructions --- BOOTSTRAP-UNIX.cli | 6 +++++- BOOTSTRAP-WINDOWS-CLANG.cli | 6 +++++- BOOTSTRAP-WINDOWS-MINGW.cli | 6 +++++- BOOTSTRAP-WINDOWS-MSVC.cli | 6 +++++- 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: \ -- cgit v1.1