Do I need the GCC (4.0.3) package if I have Slackware 11 installed?
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.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
Do I need the GCC (4.0.3) package if I have Slackware 11 installed?
Hey,
I already have Slackware 11 installed. And due to download restrictions on my net connection , I am unable to download the large 32MB gcc package. My question is - do I need it? Cos I already have Slackware 11 with GCC . Can I make the LFS package from the Slackware package?
You need the source code for it. Can you download about 16.5 mb? This is about the largest piece of gcc source. They also offer it in pieces: core, g++, testsuite.
You're confusing him having GCC 4 with him having GCC source. I would suggest at least 3.4, but version is really arbitrary if you want to track down slightly different instructions and bugs. As long as he has the source, he can build it. Hard to do it without that.
Yes, that will probably do. The only setback might be the instructions may not work as well. Maybe find an older version of the book to follow.
The difference between LFS and Gentoo (or any precompiled Linux) is that it's not as customized for your machine. This can be good or bad. It's good that you learn how Linux works. It's good for your hardware IF you do it right. It's bad if you don't want to wait for your distro to work or spend hours trying to get things right.
I haven't played with Gentoo, but it looks like most of that is automated.
From wikipedia... "All tools and utilities are built from source code. For convenience, however, several large software packages are also available as precompiled binaries for various architectures via the Portage system."
I guess the real difference between LFS and that type of system is LFS tells you every step of the way how and why it's doing things. I see LFS being better as a learning tool if you're into Computer Science. Gentoo is better if you're just interested in an optimized Linux for your hardware. Less chance of mistakes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.