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 confused, I have unpacked lfs packages 6.7 to sources directory, I have untar binutils ok. It created it's own directory as stated in book, opened the README Do I run ./confiure from within sources/binutils folder, OR as The book sayes outside sources folder
Code:
It is important that Binutils be the first package compiled because both Glibc and GCC perform various tests on the
available linker and assembler to determine which of their own features to enable.
The Binutils documentation recommends building Binutils outside of the source directory in a dedicated build
directory:
You do have to remount $LFS and become user lfs first before you continue (talking about chapter 5). Once you arrive at chapter 6 other things need to be done, but lets get there first
Ok if I shutdown I remount lfs ok but I cant login as user lfs unless I carry out section 4.3 again? Also I have 2 colouered prompts as lfs a "green 1" or a "white 1 it changes to white when
errors in '/mnt/lfs/sources/gcc-build/i686-lfs-linux-gnu/libgcc
this is during Make process.
Code:
configure-target-libgcc
error1
You need to post more information, the above won't tell us what went possibly wrong.
If an error occurs that you cannot fix yourself post at least the last 10 lines (Have a look at this chapter, especially 1.5.3).
Quote:
Ok if I shutdown I remount lfs ok but I cant login as user lfs unless I carry out section 4.3 again? Also I have 2 colouered prompts as lfs a "green 1" or a "white 1 it changes to white when....
Are you using the LFS liveCD as hosts? If so you need to recreate the lfs user (I.e: chap. 4.3 and 4.4). If you use another distro as host (which I do suspect): The lfs user should already exist...
The change in colouring isn't important, although it does show you that the .bash_profile file is parsed.
what was the exact configure command that you issued? I am just taking a guess here, but did you use the '--disable-decimal-float' switch? The header 'fenv.h' stands for floating point environment. So I would start checking the corresponding switch. Also double check if mpfr etc. was extracted in the correct directory, i.e. inside gcc's source directory, not the build directory.
Thks crts You pointed me in the right direction it was as simple as a spelling mistake, I have ran make & make install all good. I,m at 5.6. Linux-2.6.35.4 API Headers. The first code
Code:
make mrproper
as it sayes will clean up but in which directory I take it I dont want to run that at lfs:/mnt/sources/gcc-build$ or do I untar the linux-2.6.35.4.tar first? The book dosn,t tell you to go anywhere
Thks crts You pointed me in the right direction it was as simple as a spelling mistake, I have ran make & make install all good. I,m at 5.6. Linux-2.6.35.4 API Headers. The first code
Code:
make mrproper
as it sayes will clean up but in which directory I take it I dont want to run that at lfs:/mnt/sources/gcc-build$ or do I untar the linux-2.6.35.4.tar first? The book dosn,t tell you to go anywhere
This is a bit unclear in the book, although there is a hint in the title of that chapter.
You indeed need to unpack the linux kernel package and enter that directory, all the header commands are executed from here.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.