Changeset 88ec930
- Timestamp:
- 03/31/2020 10:25:23 AM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- a923b6e
- Parents:
- c3fd1c2
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rc3fd1c2 r88ec930 45 45 appropriate for the entry or if needed the entire day's listitem. 46 46 --> 47 <listitem> 48 <para>2020-03-29</para> 49 <itemizedlist> 50 <listitem> 51 <para>[bdubbs] - Textual updates thanks to Kevin Buckley.</para> 52 </listitem> 53 </itemizedlist> 54 </listitem> 55 47 56 <listitem revision="systemd"> 48 57 <para>2020-03-19</para> -
chapter04/settingenviron.xml
rc3fd1c2 r88ec930 33 33 34 34 <para>The new instance of the shell is a <emphasis>non-login</emphasis> 35 shell, which does not read the<filename>/etc/profile</filename> or36 <filename>.bash_profile</filename> files, but rather reads the35 shell, which does not read, and execute, the conten of <filename>/etc/profile</filename> or 36 <filename>.bash_profile</filename> files, but rather reads, and executes, the 37 37 <filename>.bashrc</filename> file instead. Create the 38 38 <filename>.bashrc</filename> file now:</para> … … 47 47 export LFS LC_ALL LFS_TGT PATH</literal> 48 48 EOF</userinput></screen> 49 50 49 <screen arch="ml_32,ml_x32,ml_all"><userinput>cat > ~/.bashrc << "EOF" 51 50 <literal>set +h … … 60 59 EOF</userinput></screen> 61 60 61 <variablelist> 62 <title>The meaning of the command line options in <filename>.bashrc</filename></title> 63 64 <varlistentry> 65 <term><parameter>set +h</parameter></term> 66 <listitem> 62 67 <para>The <command>set +h</command> command turns off 63 68 <command>bash</command>'s hash function. Hashing is ordinarily a useful … … 71 76 available without remembering a previous version of the same program in a 72 77 different location.</para> 78 </listitem> 79 </varlistentry> 73 80 81 <varlistentry> 82 <term><parameter>umask 022</parameter></term> 83 <listitem> 74 84 <para>Setting the user file-creation mask (umask) to 022 ensures that newly 75 85 created files and directories are only writable by their owner, but are … … 77 87 <function>open(2)</function> system call, new files will end up with permission 78 88 mode 644 and directories with mode 755).</para> 89 </listitem> 90 </varlistentry> 79 91 92 <varlistentry> 93 <term><parameter>LFS=/mnt/lfs</parameter></term> 94 <listitem> 80 95 <para>The <envar>LFS</envar> variable should be set to the chosen mount 81 96 point.</para> 97 </listitem> 98 </varlistentry> 82 99 100 <varlistentry> 101 <term><parameter>LC_ALL=POSIX</parameter></term> 102 <listitem> 83 103 <para>The <envar>LC_ALL</envar> variable controls the localization of certain 84 104 programs, making their messages follow the conventions of a specified country. … … 86 106 (the two are equivalent) ensures that everything will work as expected in 87 107 the chroot environment.</para> 108 </listitem> 109 </varlistentry> 88 110 111 <varlistentry> 112 <term><parameter>LFS_TGT=(uname -m)-lfs-linux-gnu</parameter></term> 113 <listitem> 89 114 <para>The <envar>LFS_TGT</envar> variable sets a non-default, but compatible machine 90 115 description for use when building our cross compiler and linker and when cross 91 116 compiling our temporary toolchain. More information is contained in 92 117 <xref linkend="ch-tools-toolchaintechnotes" role=""/>.</para> 118 </listitem> 119 </varlistentry> 93 120 121 <varlistentry> 122 <term><parameter>PATH=/tools/bin:/bin:/usr/bin</parameter></term> 123 <listitem> 94 124 <para>By putting <filename class="directory">/tools/bin</filename> ahead of the 95 125 standard <envar>PATH</envar>, all the programs installed in <xref … … 97 127 their installation. This, combined with turning off hashing, limits the risk 98 128 that old programs are used from the host when the same programs are available in 99 the chapter 5 environment.</para> 129 the Chapter 5 environment.</para> 130 </listitem> 131 </varlistentry> 132 133 <varlistentry> 134 <term><parameter>export LFS LC_ALL LFS_TGT PATH</parameter></term> 135 <listitem> 136 <para>While the above commands have set some variables, in order 137 to make them visible within any sub-shells, we export them</para> 138 </listitem> 139 </varlistentry> 140 141 </variablelist> 100 142 101 143 <para>Finally, to have the environment fully prepared for building the -
chapter05/dejagnu.xml
rc3fd1c2 r88ec930 24 24 <title/> 25 25 26 <para>The DejaGNU package contains a framework for testing other 27 programs.</para> 26 <para>The <application>DejaGnu</application> package contains a framework for running test 27 suites on GNU tools. It is written in <command>expect</command>, which itself 28 uses <application>Tcl</application> (Tool Command Language).</para> 28 29 29 30 <segmentedlist> -
chapter05/expect.xml
rc3fd1c2 r88ec930 24 24 <title/> 25 25 26 <para>The Expect package contains a program for carrying out scripted 27 dialogues with other interactive programs.</para> 26 <para>The <application>Expect</application> package contains tools for 27 automating, via scripted dialogues, interactive applications such as 28 <command>telnet</command>, <command>ftp</command>, 29 <command>passwd</command>, <command>fsck</command>, 30 <command>rlogin</command>, and <command>tip</command>. 31 <application>Expect</application> is also useful for testing these same 32 applications as well as easing all sorts of tasks that are prohibitively 33 difficult with anything else. The <application>DejaGnu</application> 34 framework is written in <application>Expect</application>.</para> 28 35 29 36 <segmentedlist> -
chapter05/gcc-pass1.xml
rc3fd1c2 r88ec930 97 97 First we copy the files <filename>gcc/config/linux.h</filename>, 98 98 <filename>gcc/config/i386/linux.h</filename>, and 99 <filename>gcc/config/i3 68/linux64.h</filename> to a file of99 <filename>gcc/config/i386/linux64.h</filename> to a file of 100 100 the same name but with an added suffix of <quote>.orig</quote>. Then the 101 101 first sed expression prepends <quote>/tools</quote> to every instance of -
chapter05/tcl.xml
rc3fd1c2 r88ec930 24 24 <title/> 25 25 26 <para>The Tcl package contains the Tool Command Language.</para> 26 <para>The <application>Tcl</application> package contains the Tool Command Language, 27 a robust general-purpose scripting language. The <application>Expect</application> package 28 is written in the <application>Tcl</application> language.</para> 27 29 28 30 <segmentedlist> -
general.ent
rc3fd1c2 r88ec930 1 <!ENTITY version "SVN-202003 19">1 <!ENTITY version "SVN-20200329"> 2 2 <!ENTITY short-version "svn"> <!-- Used below in &blfs-book; 3 3 Change to x.y for release but not -rc releases --> 4 4 <!ENTITY generic-version "development"> <!-- Use "development" or "x.y[-pre{x}]" --> 5 5 6 <!ENTITY versiond "202003 19-systemd">6 <!ENTITY versiond "20200329-systemd"> 7 7 <!ENTITY short-versiond "systemd"> 8 8 <!ENTITY generic-versiond "systemd"> 9 9 10 <!ENTITY releasedate "March 19th, 2020">10 <!ENTITY releasedate "March 29th, 2020"> 11 11 12 12 <!ENTITY copyrightdate "1999-2020"><!-- jhalfs needs a literal dash, not – -->
Note:
See TracChangeset
for help on using the changeset viewer.