I have been using LFS for more than a year's time and it is great.
One of my friend started LFS several days ago and got an error when
adjusting the toolchain( 5.7 ). The problem was that the gcc specs path
was pointed to the host's one. It took me me a while to figure out that
he ignored the creation of user lfs and thus the ~/.bashrc is not created.
The PATH enviourment does not even includes /tools/bin.
Most of us follows the book's recommendation and never had this problem.
But I believe the creation of LFS should be stated to be mandatory, or at
least make this clear.
1. GCC specs path. Different gcc yields different specs files. (obviously).
2. set +h search for commands every time
3. Get rid of useless environment variables using the method in
~/.bash_profile.
( exec env -i HOME=$HOME TERM=$TERM PS1='...' /bin/bash )
4. LFS environment variable. (Not so important).
Regards.
William
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page