William Zhou wrote:
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.


I agree with your point about setting up the environment (it is essential) but 
on the specific point about creating the user lfs, I disagree. For a while now 
(six months or so) I've been doing my builds creating the temporary tools as 
myself, the user andy. However, I always go through the steps of creating 
~/.bashrc and ~/.bash_profile and sourcing them, just like the book says. That 
creates the correct environment, not the username.
Andy
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to