Changes in chapter06/gcc-pass2.xml [28ae5f0:0611f706]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/gcc-pass2.xml
r28ae5f0 r0611f706 156 156 <screen><userinput remap="install">make DESTDIR=$LFS install</userinput></screen> 157 157 158 <para>159 Remove the libtool archive files because they are harmful for160 cross compilation:161 </para>162 163 <screen><userinput remap="install">rm -v $LFS/usr/lib/*.la</userinput></screen>164 165 <para>166 Adjust GCC pass 1 so it will be able to use167 <filename class="libraryfile">libgcc</filename> and C++ headers from168 GCC pass 2. It's necessary for cross compiling LLVM:169 </para>170 171 <screen><userinput remap="install">mv -v $LFS/tools/lib/gcc/$LFS_TGT/&gcc-version;/libgcc.a{,.old}172 ln -sv $LFS/usr/lib/libgcc_s.so.1 \173 $LFS/tools/lib/gcc/$LFS_TGT/&gcc-version;/libgcc.a174 mv -v $LFS/tools/$LFS_TGT/include/c++{,.old}175 ln -sv $LFS/usr/include/c++ \176 $LFS/tools/$LFS_TGT/include/c++</userinput></screen>177 178 158 <para>As a finishing touch, create a utility symlink. Many programs and scripts 179 159 run <command>cc</command> instead of <command>gcc</command>, which is
Note:
See TracChangeset
for help on using the changeset viewer.