Fix typos and added build time xinclude.

This commit is contained in:
Zeckmathederg 2024-07-26 23:50:09 -06:00
parent b342801fb3
commit b3df2ba47b
9 changed files with 48 additions and 15 deletions

View File

@ -39,6 +39,15 @@
</listitem>
-->
<listitem>
<para>July 26th, 2024</para>
<itemizedlist>
<listitem>
<para>[Zeckmathederg] - Fix typos and added build time xinclude.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>July 25th, 2024</para>
<itemizedlist>

View File

@ -70,6 +70,9 @@
nghttp2</ulink>
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../../xincludes/long-build-time.xml"/>
</sect2>
<sect2 role="installation">

View File

@ -60,6 +60,10 @@
<xref role="runtime" linkend="dbus"/>
</para>
-->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../../xincludes/long-build-time.xml"/>
</sect2>
<sect2>

View File

@ -113,6 +113,9 @@ cd app &amp;&amp;
grep -v '^#' ../app-&xorg-version;-list | wget -i- -c \
-B &xorg-download-http;/app/</userinput></screen>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../xincludes/long-build-time.xml"/>
</sect2>
<sect2 role="installation">

View File

@ -124,6 +124,9 @@
<xref linkend="cmake"/>
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/long-build-time.xml"/>
</sect2>
<sect2 role="installation">

View File

@ -21,20 +21,12 @@
<sect2 role="package">
<title>Introduction to Rust</title>
<para>
The <application>Rust</application> programming language is designed
to be a safe, concurrent, practical language.
</para>
<para>
This package is updated on a six-weekly release cycle. Because it is
such a large and slow package to build, is at the moment only required
by a few packages in this book, and particularly because newer versions
tend to break older mozilla packages, the BLFS editors take the view that
it should only be updated when that is necessary (either to fix problems,
or to allow a new version of a package to build).
</para>
<para>
As with many other programming languages, rustc (the rust compiler)
needs a binary from which to bootstrap. It will download a stage0
@ -44,7 +36,7 @@
<note>
<para>
Although BLFS usually installs in <filename
Although GLFS usually installs in <filename
class="directory">/usr</filename>, when you later upgrade to a newer
version of <application>rust</application> the old libraries in <filename
class="directory">/usr/lib/rustlib</filename> will remain, with various
@ -53,7 +45,7 @@
class="directory">/opt</filename> directory. In particular, if you
have reason to rebuild with a modified configuration (e.g. using the
shipped LLVM after building with shared LLVM, perhaps to compile crates
for architectures which the BLFS LLVM build does not support)
for architectures which the GLFS LLVM build does not support)
it is possible for the install to leave a broken
<command>cargo</command> program. In such a situation, either remove
the existing installation first, or use a different prefix such as
@ -96,7 +88,7 @@
<note>
<para>
Rustc defaults to building for ALL supported architectures, using a
shipped copy of LLVM. In BLFS the build is only for the X86
shipped copy of LLVM. In GLFS the build is only for the X86
architecture.
If you intend to develop rust crates, this build may not be good
enough for your purposes.
@ -162,6 +154,9 @@
</para>
</note>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/long-build-time.xml"/>
</sect2>
<sect2 role="installation">
@ -182,13 +177,13 @@
<!-- computeroutput used deliberately to stop anyone from copying
blindly -->
<screen role="nodump"><computeroutput>sed 's@pentium4@pentiumpro@' -i \
compiler/rustc_target/src/spec/i686_unknown_linux_gnu.rs</computeroutput></screen>
compiler/rustc_target/src/spec/targets/i686_unknown_linux_gnu.rs</computeroutput></screen>
<para>
And copy the resulting
<filename class="directory">/opt/rustc-&rust-version;</filename>
to the system without SSE2 capability. But this change is still
under upstream review and not tested by BLFS editors.
under upstream review and not tested by GLFS editors.
</para>
</note>

View File

@ -64,6 +64,9 @@
Valgrind</ulink> (for tests)
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../../xincludes/long-build-time.xml"/>
</sect2>
<sect2 role="installation">

View File

@ -47,6 +47,9 @@
<xref linkend="winedeps"/>
</para>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../../../xincludes/long-build-time.xml"/>
</sect2>
<sect2 role="installation">

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE para PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" >
<note>
<para>
This may take a while to build. Feel free to do something else
while this is building.
</para>
</note>