Changeset d7c5e6c for chapter06/rustc.xml
- Timestamp:
- 10/11/2022 12:08:40 PM (8 months ago)
- Branches:
- xry111/rust-wip-20221008
- Children:
- 46c837b
- Parents:
- 32f686f (diff), 4621dcb (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/rustc.xml
r32f686f rd7c5e6c 54 54 55 55 <para>In the first pass, build Rustc as a cross compiler for 56 <envar>$LFS_TGT</envar>. Create a suitable configuration:</para> 56 <envar>$LFS_TGT</envar>. The cross compiler will link to LLVM Pass 1, 57 so we need to tell the dynamic linker of the host distro where to find 58 the LLVM Pass 1 dynamic library:</para> 59 60 <screen><userinput remap="pre">export LD_LIBRARY_PATH=$LFS/tools/lib</userinput></screen> 61 62 <para>Create a suitable configuration:</para> 57 63 58 64 <screen><userinput remap="pre">install -vm755 src/llvm-project/llvm/cmake/config.guess config.guess … … 164 170 ln -sv rustc-&rustc-version; $LFS/opt/rustc</userinput></screen> 165 171 172 <!-- Maybe we should just set LD_LIBRARY_PATH=$LFS/tools 173 during the entire chapter 5 and 6. But doing so will need to 174 modify .bashrc of lfs user. For now just unset it, so the manual 175 build is consistent with jhalfs. --> 176 <para>Clean up the environment:</para> 177 178 <screen><userinput remap="make">unset LD_LIBRARY_PATH</userinput></screen> 179 166 180 </sect2> 167 181
Note:
See TracChangeset
for help on using the changeset viewer.