On Thu, Mar 29, 2012 at 6:10 PM, xinglp <xin...@gmail.com> wrote:
> 在 2012年3月29日 下午11:03,Alexander Kapshuk <alexander.kaps...@gmail.com> 写道: > > What patch would that be? > > The book doesn't mention any. > > > http://www.linuxfromscratch.org/lfs/view/development/chapter05/binutils-pass2.html > ===================================== > 5.9.1. Installation of Binutils > > Create a separate build directory again: > mkdir -v ../binutils-build > cd ../binutils-build > > Apply a patch to prevent a build failure when using compiler optimizations: > patch -Np1 -i ../binutils-2.22-build_fix-1.patch > ===================================== > SHOULD BE > ===================================== > Apply a patch to prevent a build failure when using compiler optimizations: > patch -Np1 -i ../binutils-2.22-build_fix-1.patch > > Create a separate build directory again: > mkdir -v ../binutils-build > cd ../binutils-build > ===================================== > > > > > > On Thu, Mar 29, 2012 at 5:35 PM, xinglp <xin...@gmail.com> wrote: > >> > >> > >> -- > >> http://linuxfromscratch.org/mailman/listinfo/lfs-support > >> FAQ: http://www.linuxfromscratch.org/lfs/faq.html > >> Unsubscribe: See the above information page > > > > > > > > -- > > http://linuxfromscratch.org/mailman/listinfo/lfs-support > > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > > Unsubscribe: See the above information page > > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > On the hind thought, correct me if I'm wrong but the original instructions seem to be OK. (1). The patch file would be in $LFS/sources (2). The archive containing binutils would be in $LFS/sources as well (3). Once unpacked, one would cd into the directory containing the unpacked files (4). Then, do 'mkdir ../binutils-build', with binutils-build residing in $LFS/sources (5). cd into ../binutils-build ($LFS/sources/binutils-build) (6). Apply the path: path -Np1 -i ../binutils...patch ($LFS/sources/binutils...patch)
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page