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'm building an lfs on Arch Linux
I follow ALL the commands perfectly
but when i adjust the toolchain, readelf does not put on screen anything
because the "requesting program interpreter" is tools/lib/ld-linux.so.2, and NOT /tools/lib/ld-linux.so.2
Can you help me?
The gcc of this Arch is the 4.5.2
If the first / is missing I suspect a typo somewhere in the previous steps (might even have occured in the previous chapters). Have you redone the commands in the first grey box (chapter 5.8)?
If I look at the system requirements I don't see any problems with using gcc 4.5.2 on your (arch) host.
Although you mention following the book in the above post I have to ask: Did you really? I'm double checking 'cause if I look at your other posts I do see you've been solving problems in a "creative" way (adding to/changing commands and using a newer gcc version) I do hope you didn't do that this time around....
I'm building the 7.0
But now i mar "solved" this thread
Maybe i wrote something wrong on gcc-pass2 (all that sed-stuff is not easy to write on a IT-keyboard)
(all that sed-stuff is not easy to write on a IT-keyboard)
I would copy/paste those commands. As long as you understand what's being done and don't just copy/paste the commands and skip the explanatory text there's nothing wrong with that. It will make sure you don't make typo's (especially true for the larger, more complicated commands.
It's worth checking the specs file has been modified correctly after adjusting the tool chain as it can save a lot of searching later. Something like :
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.