Problems with the Toolchain
I have got to the part where I'm supposed to "Adjust the Toolchain" but when I try to enter these commands, I get no output at all, only a ">".
Code:
SPECFILE=`gcc --print-file specs` && Code:
SPECFILE=`gcc --print-file specs` && Btw, was I supposed to enter the code as a whole or one line after the other? Thanks! |
which version of the book are you using?
[ there shouldn't be any big difference in the adjusting the toolchain, but it always helps to include that since it makes a difference in most of the book. :) You are editing the configuration file for gcc itself? The way it's presented in the book is as a sed script. Quote:
|
1. type
Code:
export SPECFILE=`gcc --print-file specs` |
Yeah, it worked. still compiling now as I write. btw, I have read some threads on using live distros as hosts, but none of them has been conclusive. Which distro is fully compatible with lfs "out of the box"? So far I've tried
*Fedora Core 5 - Some commands were reported as not existing e.g. mke2fs *Knoppix 4.0 & 5.0 - incompatibility with gcc 3 *Ubuntu 5.10 - got this message below. Code:
lfs@JUU00:/mnt/lfs/sources/binutils-2.15.94.0.2.2$ ../binutils-2.15.94.0.2.2/configure --prefix=/tools --disable-nls P.s. All the Distros I used were not in anyway remastered. |
pretty much any distro should work, really - including most of those you've tried... the mke2fs error you got in fedora just means you'd need to install mke2fs, or you copuld use another filesystem (i'm using reiserfs, BTW)... the error you got in ubuntu means you either don't have gcc installed or you need to create a cc link to gcc - it's probably that you're missing gcc, though...
either way, i can recommend slackware 10.2 as an LFS host as that's what i'm using and it's worked-out great so far... :) |
Quote:
|
Quote:
if you're 100% sure your problem is caused by QT and there's no way to get around it, then yes, using a non-qt window manager or desktop environment and apps should do the trick... |
I recommend the LFS Live CD, because it was OK for me, I have finished my LFS build and the LFS LiveCD was good enough to be the host while building. It has Web browser to read LFS online/offline and the best - it has all the necessary sources on it so I do not need to download them. I was building on WMVare, no problemns with LFS LiveCD, do not know if it may have any problems on a real PC.
|
I had the same problem
I have the same problem with gcc specs.
This seems to work : SPECFILE=$(gcc --print-file specs) && sed 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' $SPECFILE > tempspecfile && mv -f tempspecfile $SPECFILE && unset SPECFILE |
I thought it was not supposed to give an output that something happened. Mine went OK and I'm getting close to GCC second pass. No problems so far.
LFS Live CD 6.1.1-4 as host on VMWare guest machine. I like using VMWare for LFS because when I take a break, I just suspend the VM and it's right where I left off the next day. |
Hey there, I finished my LFS on Friday, now I'm moving on to BLFS. Will make this a long term project, because I dont have so much time anymore.
p.s. when building LFS, try the live-CD, because it meets all the required standards, and you won't have any problems with gcc. pss. when in LFS-Live CD, try start X to bring up xfce, and you will get a desktop, with a web-browser (it's home page is set to the LFS-book on the cd ;) ) If this doesn't work, edit your xorg.conf accordingly, I tell you, it's much easier. |
All times are GMT -5. The time now is 07:59 PM. |