Pure LFS Hint - good to go

Jules Bjørn Colding JuBColding at yorkref.com
Mon Feb 17 02:05:11 PST 2003

But the architecture is embedded in the SPEC string that is returned
from my gcc_spec() function, no?


> Not quite anal enough :-)
> You still wont have the architecture though, what if we ain't building on
> an i686, some of us have old sparcs lying around (damn noisy powerhungry
> old bastards, but god bless'em they just keep on running ;-) )
> This from the script... ( we already know the version of gcc )
> TGT_TRIPLE=`/stage1/bin/gcc -dumpmachine`
> SPECFILE=/stage1/lib/gcc-lib/${TGT_TRIPLE}/${GCC_VER}/specs
> cp ${SPECFILE} ./XX
> sed 's@/lib/ld-linux.so.2@/stage1/lib/ld-linux.so.2 at g' ./XX > ${SPECFILE}
> rm -f ./XX
> Regards
> Ryan

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