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.
You do BLFS after finish LFS..........on BLFS you only install what you want.
BLFS does not come in one package..........you download only what
you want or need to install.........like this.........
X-server + Gnome OR
X-server + KDE OR
X-server + fluxbox OR
X-server + KDE + fluxbox
see .......with BLFS you configure what you want........
hi
what i want to know is that
to install BLFS do we need to have LFS installed or
can we start with BLFS starightaway
and which one will take less time
thanks for keeping me posted
also pl. tell me what about hardware issues
do i need to get drivers for it
also i have an empty 2.5 gb ext3 fs partition kept ,i hope that is fine and i hope we can install
the desktops.
my Pc configuration is
p3 866 Mhz,
ASUS 810E MB
256 mb Ram
i hope this is fine for all the setups and how many days will it take to compile and install all the packages.
i have got this 125 mb package from LFS do i need to get the patches for all also????
Created "Makefile" in /mnt/lfs/gcc-build/gcc-3.3.1 using "mt-frag"
/tools/bin/ld: unrecognized option '--as-needed'
/tools/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status
*** The command 'gcc -o conftest -g -O2 conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
the arguments are the one asked to e provided in the manual
this one (exactly) has been asked quite a few times before - I myself commented on this along the lines:
are you sure you gave the right command (like it is in the book)?
I was also suggesting to be careful using cut & paste - because the error does seem like something went into the command which does not belong there...
the error-message is: /tools/bin/ld: unrecognized option '--as-needed'
this does not show up in the command you said you gave - and this looks very sterange to me...
since I never heard again of the people, who where asking this question - could you be so kind and tell us where this error actually came from - once you get it resolved...
Did any of the suggested workarounds work for you? If not, I would suggest starting again under (for example) Fedora Core 1 or Red Hat 9, both of which are supposed to work well.
yes
i am using fedora core2 !
and i do not have FC1 yet and i cannot go back to redhat 9.0 now to so when i try again compiling LFS i will lookout what i can do, for now that too is on hold !!
anyway thanx a lot for ur suggection!!
i am checking out the link u specified
quote:
"You must set the environment variable CC to a working compiler."
means you are using a newer version of gcc, lfs 5.1 was built around gcc 2.95 so I believe.
Insert the following exactly before the command to configure and it should be fine. You are just specifying which version of gcc to use.
quote:
"You must set the environment variable CC to a working compiler."
means you are using a newer version of gcc, lfs 5.1 was built around gcc 2.95 so I believe.
Insert the following exactly before the command to configure and it should be fine. You are just specifying which version of gcc to use.
CC="gcc -B/usr/bin"
Otherwise you can try building lfs-6.
hi there
thanx for the tip!!!
also will lfs-6 work fine on FC2.??
i will straightway go on getting the pacakges for lfs-6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.