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.
Ok, so in section 6.12. Readjusting the Toolchain, I'm having a problem. I ran the
Code:
make ld INSTALL=/tools/bin/install install
and it gives me an error about not being able to find target ld. I'm pretty sure it means that it can't 'make ld'. Thoughts? Is it safe to ignore this? How do I fix it?
Originally posted by microsoft/linux Ok, so in section 6.12. Readjusting the Toolchain, I'm having a problem. I ran the
Code:
cd $LFS/source/binutils-build
make ld INSTALL=/tools/bin/install install
and it gives me an error about not being able to find target ld. I'm pretty sure it means that it can't 'make ld'. Thoughts? Is it safe to ignore this? How do I fix it?
i see, I didn't see that in the book. Perhaps it's my own fault, is it written in the book? Thanks again.
In the book it is usually not stated to cd into a particular directory to build or install. It is assumed that if you are skilled enough to build LFS, it will be considered "common sense" to you. You are expected to cd into the directory containing the source code before "configure && make && make install" unless instructed otherwise.
When I asked a simular question someone told me to stop trying to builf LFS and just keep using another distro for a few months then come back and try again.
Well, needless to say, I didn't wait months.
What I did was read up on compiling software from source, download a few packages, compiled and installed them for practice then again tried LFS and was sucessfull and very happy!!
Another good thing to do is read the forums to see what problems others are having and taking notes so that you don't fall into the same trap.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.