LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
  Search this Thread
Old 04-12-2004, 02:00 AM   #1
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Rep: Reputation: 30
building LFS GCC question


should i get gcc 3.3
or should i get the version it says to get wich is
2.95.3


well
i am going to download both

but which one should i install
the new version? or the older

and what problem/differences am i going to see by installing the newer one instead of the one the recomend
 
Old 04-12-2004, 02:05 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
You must have an older book. The latest book has GCC-3.3.1

http://lfs.130th.net/lfs/view/stable/

It's usually best to stick with what the book says to use. Although it is not absolutely required.
 
Old 04-12-2004, 02:11 AM   #3
citrus
Member
 
Registered: Dec 2003
Location: California
Distribution: Kubuntu 6.1
Posts: 548

Original Poster
Rep: Reputation: 30
no i got 5.0 book
the book says

GCC (2.95.3) - 9,618 KB:
http://freshmeat.net/projects/gcc/

GCC-core (3.3.1) - 10,969 KB:
http://freshmeat.net/projects/gcc/

GCC-g++ (3.3.1) - 2,017 KB:
http://freshmeat.net/projects/gcc/

GCC-testsuite (3.3.1) - 1,033 KB:
http://freshmeat.net/projects/gcc/

this is why i am confused
all the other gcc programs it wants me to get are 3.3
yes the gcc it self says to get 2.95

Last edited by citrus; 04-12-2004 at 02:12 AM.
 
Old 04-12-2004, 03:29 AM   #4
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
Ok, this is from the 5.0 book, chapter 6, Installing GCC-2.95.3:

This is an older release of GCC which we are going to install for the purpose of compiling the Linux kernel in Chapter 8. This version is recommended by the kernel developers when you need absolute stability. Later versions of GCC have not received as much testing for Linux kernel compilation. Using a later version is likely to work, however, we recommend adhering to the kernel developer's advice and using the version here to compile your kernel.
...
We'll install this older release of GCC into the non-standard prefix of /opt so as to avoid interfering with the system GCC already installed in /usr .


So, as I mentioned, stick with the book, unless you are some expert... which I am not.

Last edited by itsjustme; 04-12-2004 at 03:31 AM.
 
Old 04-12-2004, 12:04 PM   #5
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
just follow the book to the "letter"!!

you will install Gcc 2.95 toward the end of chapter 6, and compile your kernel against 2.95 and not 3.31
 
Old 05-05-2004, 08:00 AM   #6
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
Hi,

I Used only GCC 3.3.2 to compile everything including the linux kernel (and I used 2.6.5, not 2.4.22) and it went just fine, at least for me

Julio
 
Old 05-12-2004, 09:36 AM   #7
linuxnut2003
Member
 
Registered: Nov 2003
Location: Oklahoma, USA
Distribution: gentoo
Posts: 73

Rep: Reputation: 15
gcc 2.95.3 is used to give you mission-critical stability for...say...a banking server or something like that. that's why the book includes it plus the fact it also gives you a smaller kernel size
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building 64bit LFS currir55 Linux From Scratch 1 11-15-2005 04:47 PM
Questions about building LFS kornerr Linux From Scratch 9 07-29-2005 09:06 AM
Building Binary LFS Tuvok Linux From Scratch 10 03-20-2005 08:09 PM
Building Screen-4.0.2 (and others...) on LFS cjcuk Linux From Scratch 5 12-17-2003 10:11 AM
Building LFS for Server Iceman Cometh Linux From Scratch 3 03-04-2002 02:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 08:04 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration