mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 14:32:13 +08:00
Fix typos and added build time xinclude.
This commit is contained in:
parent
b342801fb3
commit
b3df2ba47b
@ -39,6 +39,15 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>July 26th, 2024</para>
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem>
|
||||||
|
<para>[Zeckmathederg] - Fix typos and added build time xinclude.</para>
|
||||||
|
</listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>July 25th, 2024</para>
|
<para>July 25th, 2024</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
@ -70,6 +70,9 @@
|
|||||||
nghttp2</ulink>
|
nghttp2</ulink>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../../../xincludes/long-build-time.xml"/>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
|
@ -60,6 +60,10 @@
|
|||||||
<xref role="runtime" linkend="dbus"/>
|
<xref role="runtime" linkend="dbus"/>
|
||||||
</para>
|
</para>
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../../../xincludes/long-build-time.xml"/>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
|
@ -113,6 +113,9 @@ cd app &&
|
|||||||
grep -v '^#' ../app-&xorg-version;-list | wget -i- -c \
|
grep -v '^#' ../app-&xorg-version;-list | wget -i- -c \
|
||||||
-B &xorg-download-http;/app/</userinput></screen>
|
-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>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
|
@ -124,6 +124,9 @@
|
|||||||
<xref linkend="cmake"/>
|
<xref linkend="cmake"/>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../xincludes/long-build-time.xml"/>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
|
@ -21,22 +21,14 @@
|
|||||||
|
|
||||||
<sect2 role="package">
|
<sect2 role="package">
|
||||||
<title>Introduction to Rust</title>
|
<title>Introduction to Rust</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
The <application>Rust</application> programming language is designed
|
The <application>Rust</application> programming language is designed
|
||||||
to be a safe, concurrent, practical language.
|
to be a safe, concurrent, practical language.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
This package is updated on a six-weekly release cycle. Because it is
|
As with many other programming languages, rustc (the rust compiler)
|
||||||
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
|
needs a binary from which to bootstrap. It will download a stage0
|
||||||
binary at the start of the build, so you cannot compile it without an
|
binary at the start of the build, so you cannot compile it without an
|
||||||
Internet connection.
|
Internet connection.
|
||||||
@ -44,7 +36,7 @@
|
|||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
Although BLFS usually installs in <filename
|
Although GLFS usually installs in <filename
|
||||||
class="directory">/usr</filename>, when you later upgrade to a newer
|
class="directory">/usr</filename>, when you later upgrade to a newer
|
||||||
version of <application>rust</application> the old libraries in <filename
|
version of <application>rust</application> the old libraries in <filename
|
||||||
class="directory">/usr/lib/rustlib</filename> will remain, with various
|
class="directory">/usr/lib/rustlib</filename> will remain, with various
|
||||||
@ -53,7 +45,7 @@
|
|||||||
class="directory">/opt</filename> directory. In particular, if you
|
class="directory">/opt</filename> directory. In particular, if you
|
||||||
have reason to rebuild with a modified configuration (e.g. using the
|
have reason to rebuild with a modified configuration (e.g. using the
|
||||||
shipped LLVM after building with shared LLVM, perhaps to compile crates
|
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
|
it is possible for the install to leave a broken
|
||||||
<command>cargo</command> program. In such a situation, either remove
|
<command>cargo</command> program. In such a situation, either remove
|
||||||
the existing installation first, or use a different prefix such as
|
the existing installation first, or use a different prefix such as
|
||||||
@ -96,7 +88,7 @@
|
|||||||
<note>
|
<note>
|
||||||
<para>
|
<para>
|
||||||
Rustc defaults to building for ALL supported architectures, using a
|
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.
|
architecture.
|
||||||
If you intend to develop rust crates, this build may not be good
|
If you intend to develop rust crates, this build may not be good
|
||||||
enough for your purposes.
|
enough for your purposes.
|
||||||
@ -162,6 +154,9 @@
|
|||||||
</para>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../xincludes/long-build-time.xml"/>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
@ -182,13 +177,13 @@
|
|||||||
<!-- computeroutput used deliberately to stop anyone from copying
|
<!-- computeroutput used deliberately to stop anyone from copying
|
||||||
blindly -->
|
blindly -->
|
||||||
<screen role="nodump"><computeroutput>sed 's@pentium4@pentiumpro@' -i \
|
<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>
|
<para>
|
||||||
And copy the resulting
|
And copy the resulting
|
||||||
<filename class="directory">/opt/rustc-&rust-version;</filename>
|
<filename class="directory">/opt/rustc-&rust-version;</filename>
|
||||||
to the system without SSE2 capability. But this change is still
|
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>
|
</para>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
|
@ -64,6 +64,9 @@
|
|||||||
Valgrind</ulink> (for tests)
|
Valgrind</ulink> (for tests)
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../../../xincludes/long-build-time.xml"/>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
|
@ -47,6 +47,9 @@
|
|||||||
<xref linkend="winedeps"/>
|
<xref linkend="winedeps"/>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||||
|
href="../../../../xincludes/long-build-time.xml"/>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
|
10
xincludes/long-build-time.xml
Normal file
10
xincludes/long-build-time.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user