From: Kévin Le Gouguec <legoug...@adacore.com>

gcc/ada/

        * doc/gnat_ugn/building_executable_programs_with_gnat.rst: Remove
        extended discussion regarding mold run-time dependencies;
        packaging changes in GNAT Pro have made them obsolete.

Tested on x86_64-pc-linux-gnu, committed on master.

---
 ...building_executable_programs_with_gnat.rst | 22 -------------------
 1 file changed, 22 deletions(-)

diff --git a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst 
b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
index 6c0d2b34a92..6e80163d6d4 100644
--- a/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
+++ b/gcc/ada/doc/gnat_ugn/building_executable_programs_with_gnat.rst
@@ -6317,28 +6317,6 @@ Linker switches can be specified after :switch:`-largs` 
builder switch.
   recent and faster alternatives, but only available on GNU/Linux
   platforms.
 
-  .. only:: PRO
-
-    The GNAT distribution for native Linux platforms includes ``mold``,
-    compiled against OpenSSL version 1.1; however, the distribution does
-    not include OpenSSL.  In order to use this linker, you may either:
-
-    * use your system's OpenSSL library, if the version matches: in this
-      situation, you need not do anything beside using the
-      :switch:`-fuse-ld=mold` switch,
-
-    * obtain a source distribution for OpenSSL 1.1, compile the
-      :file:`libcrypto.so` library and install it in the directory of
-      your choice, then include this directory in the
-      :envvar:`LD_LIBRARY_PATH` environment variable,
-
-    * install another copy of ``mold`` by other means in the directory
-      of your choice, and include this directory in the :envvar:`PATH`
-      environment variable; you may find this alternative preferable if
-      the copy of ``mold`` included in GNAT does not suit your needs
-      (e.g. being able to link against your system's OpenSSL, or using
-      another version of ``mold``).
-
 .. _Binding_with_gnatbind:
 
 Binding with ``gnatbind``
-- 
2.40.0

Reply via email to