6.12 Readjusting the toolchain

Richard Caldwell rcaldwellie at yahoo.com
Fri Feb 16 03:19:46 PST 2007

----- Original Message ----
From: Alan Lord <lord_alan at dsl.pipex.com>
To: lfs-support at linuxfromscratch.org
Sent: Friday, February 16, 2007 10:58:02 AM
Subject: Re: 6.12 Readjusting the toolchain

Richard Caldwell wrote:
> Hi,
>     having the following problem that I dont undertsand?
> System:
> using LFS LiveCD 6.0
> Dell optiplex P3 with 64mb RAM
> When I try to run 
> sed -i 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2 at g' \ $(gcc --print-file specs)
> I get the error
> sed: can't read /tools/lib/gcc/i686-pc-linux-gnu/3.4.1/specs: No such file or directory
> I ignored the previous command 
> make -C ld INSTALL=/tools/bin/install install
> as instructed by the book as I had accidentally deleted binutils source and build directories, also, I used the command above instead of the one in the book:
> sed -i 's@ /tools/lib/ld-linux.so.2@ /lib/ld-linux.so.2 at g' \ `gcc --print-file specs`
> because I can't find the accent-grave on my keyboard
> Can anyone advise me please?
> RC


First off, you don't say what version of LFS are you are trying to build.
Second - your host linux seems a bit old - Why don't you use the latest 
LFS live CD rather than 6.0?

Thirdly, you can cut & paste between ttys using GPM (the mouse driver 
which is installed and running on the live CD). Just do ALT-F1, ALT-F2 
etc to switch between multiple login screens; you can have a lynx or 
(links) page open with the book in one, and then cut and paste to your 
other screen the commands you need.

The backtick on my keyboard (A UK kbd) is the leftmost key on the top 
row. It shares itself "`" with "¬" (shifted) and "¦" (ALT Gr)

I hope these suggestions help a bit and if I am teaching you to suck 
eggs please ignore ;-)



Hi Al,
I'm a complete novice so any help is useful.I didn't know I could run more than one tty useing ALT + F. I ve got the book open on the 2nd tty. How do I cut & paste. I've tried starting GPM by typing 'GPM' and got the message "08o.oops(): [gpm.c(933)]: Please use -m /dev/mouse -t protocol" What do I hgave to do to cut & paste?
Alternatively, how do I set my keyboard up correctly? My top left key gives me ' instead of ` and shifts to ~, and ALT GR doesn't give me anything?



FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

More information about the lfs-support mailing list