LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , , ,

Reply
 
Thread Tools
Old 11-14-2009, 01:21 PM   #1
Openumerix
LQ Newbie
 
Registered: Nov 2009
Location: Canada
Distribution: Own derived from LFS
Posts: 8
Thanked: 0
gcc in CLFS section 5.8.1 does not compile without the omitted mpfr and gmp


[Log in to get rid of this advertisement]
Hello All,

Unlike in LSF-6.4 or 6.5, section 5.8.1 omits mpfr and gmp. If I proceed so, gcc-4.4.0 does not compile, it's asking for them.

Since the website has been down, I do not have and hence I did not apply the 4.2.4 "cross_search" patch, which could or could have not been the right thing to do anyway. Is this the culprit? I did apply the "branch" patch though. Does this include the functionalities of the formerly mentioned as well?

Once I added the above two packages, the compilation took place very nicely, so I wonder whether this is a bug in the book or the configuration files, or I am doing something completelly wrong by trying to use 4.4.0?

Thank you All in advance,
Tibor
windows_xp_2003 Openumerix is offline  
Tag This Post , , ,
Reply With Quote
Old 11-15-2009, 11:08 AM   #2
bgoodr
Member
 
Registered: Dec 2006
Location: Oregon
Distribution: RHEL[45] {x86,x86_64}, Debian "testing" {x86,x86_64}
Posts: 143
Thanked: 5
Quote:
Originally Posted by Openumerix View Post
...Since the website has been down, I do not have and hence I did not apply the 4.2.4 "cross_search" patch...
This sounds like something you could post to the GCC mailing list or lists and get better luck with an answer. Sorry, I don't have an answer for you, as I have only managed to build GCC 4.2.1 on 32-bit and 64-bit RHEL machines only at work, but not on Debian at home, but that GCC version doesn't apply to your situation.

bg
linuxdebian bgoodr is offline     Reply With Quote
Thanked by:
Old 11-16-2009, 01:28 AM   #3
Openumerix
LQ Newbie
 
Registered: Nov 2009
Location: Canada
Distribution: Own derived from LFS
Posts: 8
Thanked: 0

Original Poster
Thanks, I'll do that. First, now that I did obtain the appropriate patches, I will verify the compilation process as in CLFS 1.1.0. If I'll get to the same conclusion, I'll try posting it there.

Cheers,
Tibor
windows_xp_2003 Openumerix is offline     Reply With Quote
Old 11-18-2009, 10:46 PM   #4
knudfl
Senior Member
 
Registered: Jan 2008
Location: Copenhagen, Denmark
Distribution: pclos2009.2, slack13, Debian Lenny (+30 others, for test only)
Posts: 2,883
Thanked: 267
I think the reason for not mentioning gmp, mpfr is
that you already know the procedure from LFS.

I.e. unpack both into gcc-4.x/ and rename to gmp/, mpfr/.

CLFS and the other "specials" are meant to be build only
when you know how to create a complete 'LFS'.

Leaving out basic stuff : Happens more than one time in
LFS, etc. LFS itself is also based upon having some
knowledge, before you build it.
... Is not meant for beginners ...
.....

Last edited by knudfl; 11-19-2009 at 11:10 AM..
linux knudfl is online now     Reply With Quote
Thanked by:
Old Yesterday, 02:35 PM   #5
Openumerix
LQ Newbie
 
Registered: Nov 2009
Location: Canada
Distribution: Own derived from LFS
Posts: 8
Thanked: 0

Original Poster
Hello All,

Thanks again to all those who read my post, and especially to those who tried to help.

The final answer is simple. As it turns out, gcc 4.3.x and earlier versions do compile without gmp and mpfr unpacked in its source directory, but all this has been changed in the higher versions. Those do need these two packages to be readily available at the time of the compilation, since all three are built together.

As such, there is no mistake in either of the CLFS and LSF books.

Happy compiling,
Tibor
windows_xp_2003 Openumerix is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Why install MPFR and GMP in GCC as opposed to separately? GuyWhoKilledBear Linux - Software 1 08-12-2009 01:46 PM
CLFS-6.3. GMP-4.2.4 will not compile pdsmith Linux From Scratch 5 06-07-2009 04:45 AM
i have an error Building GCC: requires GMP 4.1+ and MPFR 2.3.0+. robineecc1 Linux From Scratch 10 04-09-2009 07:03 PM
Can't Compile GMP with gcc mac 10.4.11 phy1729 Programming 1 04-16-2008 04:06 AM
Finding path of GMP and MPFR for gcc upgrade drosselmeyer Linux - Newbie 1 03-25-2008 09:47 PM


All times are GMT -5. The time now is 07:24 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration