Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
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.


  Search this Thread
Old 02-22-2006, 10:23 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
using gcc3 instead of gcc4

Okay, I am trying to figure out how to set my system to use gcc3 instead of gcc4 to build LFS. It seems that gcc4 causes too many problems if I am following the book.

My host system is running OpenSuse.
Old 02-22-2006, 10:31 PM   #2
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Rep: Reputation: 30
Follow my advice, download a LFS LiveCD and use that to build a Linux From Scratch system. If I remember correctly, it comes with GCC3 by default. Though that could have changed from the last time I checked it, which was several months ago.

But if you really want to build it inside of OpenSuse, then see if you can uninstall gcc4 and install gcc3 in it's place then go from there.

Last edited by Seph64; 02-22-2006 at 10:33 PM.
Old 02-22-2006, 11:01 PM   #3
LQ Newbie
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
Okay, I'll do that then. I actually got the hard copy of the book for my b-day a few months ago and it comes with the CD.
Old 02-23-2006, 12:13 PM   #4
Registered: Sep 2003
Distribution: Debian
Posts: 49

Rep: Reputation: Disabled
It is always possible to install another GCC in a directory like /opt/gcc-3.3.6 and add its bin directory to the PATH environment variable.


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
compling kernel using gcc4 linuxmandrake Debian 7 09-30-2005 02:01 PM
how to uninstall gcc4.0.1? gepo Linux - Software 2 09-05-2005 08:50 AM
Is GCC4.0 necessary for Mplayer? jared78 Linux - Software 4 05-05-2005 03:19 PM
Gcc4 hgnoel1980 Linux From Scratch 2 04-29-2005 03:42 AM
has any one upgraded from gcc3.3.4 to gcc3.4.3? mojarron Slackware 2 03-20-2005 10:44 AM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:39 PM.

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