LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
LinkBack Search this Thread
Old 01-30-2007, 12:11 AM   #1
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 45
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?
 
Old 01-30-2007, 01:30 PM   #2
Angeliqe
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
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.
 
Old 01-30-2007, 01:35 PM   #3
StargateSteve
Member
 
Registered: Dec 2006
Location: UNM
Distribution: Debian Lenny
Posts: 107

Rep: Reputation: 15
you most likely don't need GCC 4. (you might not want it) I have noticed that on my own system, GCC 4 can cause some bad builds on KDE or QT stuff.
 
Old 01-30-2007, 01:53 PM   #4
Angeliqe
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
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.
 
Old 01-30-2007, 09:21 PM   #5
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 45
I have /slackDVD/source/d/gcc/gcc-3.4.6.tar.bz2 on SlackDVD. Will it do? or is version important?


Also on an unrelated part, what is better in LFS over Gentoo?
 
Old 01-31-2007, 03:29 AM   #6
Angeliqe
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
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.
 
Old 01-31-2007, 07:02 AM   #7
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 51
If you take kernel 2.6.18, it says in the documentation that the requirement is
gcc>=3.2
 
Old 01-31-2007, 09:41 AM   #8
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 45
But Gentoo isn't the precompiled linux ...its all compile yourself. That is why I asked ... or I could have asked LFS vs. FC ..
 
Old 01-31-2007, 11:29 AM   #9
Angeliqe
LQ Newbie
 
Registered: Jan 2007
Posts: 22

Rep: Reputation: 15
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.
 
Old 01-31-2007, 12:18 PM   #10
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Original Poster
Rep: Reputation: 45
ohh ok. Thanks a lot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
package updater not finding gcc which is installed strimp099 Linux - Software 2 04-19-2006 07:41 PM
RPM package manager says package needs to be installed. But I already installed it! nick623 Linux - Software 2 05-24-2005 02:15 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
installed firefox package on slackware 10.0, i can't find it salviadud Slackware 10 03-04-2005 09:22 PM
Just installed GAIM 1.1.2 package from Slackware.com, missing protocols. EOHooligan Slackware 4 02-06-2005 12:11 PM


All times are GMT -5. The time now is 06:10 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration