v2.2.8 of plfs buildscripts is most recent?

Ryan.Oliver at pha.com.au Ryan.Oliver at pha.com.au
Fri May 2 20:11:33 PDT 2003


> As I was saying, the hint has:
>
> For binutils:
>
>         cd ld &&
>         make INSTALL=/stage1/bin/install install-data-local

Done in the scripts after the second binutils build
Grep the ch5 script for
# Rebuild the ldscripts for installation during ch6

> And GCC:
>
>         SPECFILE=/stage1/lib/gcc-lib/i686-pc-linux-gnu/*/specs &&
>         cp ${SPECFILE} ./XX &&
>         sed 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2 at g' ./XX >
${SPECFILE} &&
>         unset SPECFILE &&
>         rm -f ./XX

Thats in ch6, but its slightly larger.

TGT_TRIPLE=`/stage1/bin/gcc -dumpmachine`
SPECFILE=/stage1/lib/gcc-lib/${TGT_TRIPLE}/${GCC_VER}/specs
grep /stage1/lib ${SPECFILE} > /dev/null 2>&1 &&
{
   cp ${SPECFILE} ./XX
   sed -e 's@/stage1/lib/ld-linux.so.2@/lib/ld-linux.so.2 at g' \
       -e 's@/stage1/lib/ld.so.1@/lib/ld.so.1 at g' \
       -e 's@/stage1/lib64/ld-linux.so.2@/lib64/ld-linux.so.2 at g' \
       -e 's@/stage1/lib64/ld.so.1@/lib64/ld.so.1 at g' ./XX > ${SPECFILE}
   rm -f ./XX
}

I'll  have to take a look, as long as its only done once its OK.

Regards
[R]


-- 
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