Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I forgot about one of the initial build instructions:
Quote:
After installing each package, delete its source and build directories, unless specifically instructed otherwise. Deleting the sources prevents mis-configuration when the same package is reinstalled later.
I see this is an old thread, but my problem is related. I just started with LFS 6.6 and I am in Chapter 5.4. The instructions at the start of the chapter suggest a separate build directory but the instruction (mkdir -v ../binutils-build) gives a relative path. Where exactly should this build directory be? It might not be too big of an issue, but on my first time through, I would like to follow the instructions exactly.
It would seem to me that it should be /mnt/lfs/sources/binutils-build. Is this correct?
- Enter $LFS/sources,
- Unpack package,
- Enter package directory,
- Follow instructions given for specific package.
So in your case you should enter $LFS/sources, unpack binutiles (tar jxfv binutils-2.20.tar.bz2), enter newly created dir (cd binutils-2.20). And from this point on you follow the instructions in chapter 5.4, starting with th creation of the binutils-build directory.
This is mentioned in chapter 5.3 (last Important box)....
Thank you very much! I read that part a couple of times, but I guess it didn't sink in. Sometimes you can miss the forest for the trees. I feel much more confident now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.