Ch5: "Locking in" glibc, Ch6: Adjusting toolchain

Tushar Teredesai tushart at abbnm.com
Mon Jun 2 09:03:39 PDT 2003


Jouko Orava wrote:

>Commands after make in Chapter 5, '"Locking in" glibc'
>is exactly reversed in Chapter 6, 'Adjusting Toolchain',
>again after the make command.
>
>I suggest that the first one is modified so that the
>original spec file is saved as 'specs.lfs-orig', and
>the latter one simply moves it back. This eliminates
>the second sed altogether, and removes the need for
>a temporary file (named XX in cvs LFS).
>
>Ch5: '"Locking in" Glibc", after the make and the comment:
>-----------------------------------------------------------
>FN=/stage1/lib/gcc-lib/*/*/specs
>echo n | mv -i $FN $FN.lfs-orig
>sed -e 's@/lib/ld.so.1@/stage1/lib/ld.so.1 at g' \
>    -e 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2 at g' \
>    $FN.lfs-orig > $FN
>unset FN
>-----------------------------------------------------------
>
>Ch6: 'Adjusting toolchain', after the make:
>-----------------------------------------------------------
>FN=/stage1/lib/gcc-lib/*/*/specs
>mv -f $FN.lfs-orig $FN
>unset FN
>-----------------------------------------------------------
>
>  
>
Have you checked whether the specs files with your procedure and the 
book's procedure are identical?

-- 
Tushar Teredesai
  mailto:tushar at linuxfromscratch.org
  http://linuxfromscratch.org/~tushar


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list