Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-11-2009, 06:52 PM   #1
LQ Newbie
Registered: Nov 2006
Distribution: Slackware, Linux from Scratch, Ubuntu
Posts: 24

Rep: Reputation: 16
Why install MPFR and GMP in GCC as opposed to separately?

Hey all,

I'm working through Linux from Scratch, two parts of which include installing GCC. (Once linked against libraries on the original OS, and once linked against a new set of libraries.) Anyway, the first time through, the source for MPFR and GMP are moved into the GCC source directory and compiled as part of GCC. The second time each package is compiled individually. Does anyone here know what the difference between the two methods of compiling the math packages are?

Old 08-12-2009, 12:46 PM   #2
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 8,261

Rep: Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828Reputation: 828
If you're referring to chapter 5 & 6 as the 'first time' and 'second time' there are differences

Chapter 5 is statically linked. It has to be linked against the original OS in a few places because the other OS isn't there yet. When building gcc, I think they only make for C

Chapter 6 is your full featured system built to stay and linked dynamically.

They do have a saying there: FBBG which means 'Follow Book - Book Good'



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
i have an error Building GCC: requires GMP 4.1+ and MPFR 2.3.0+. robineecc1 Linux From Scratch 14 10-03-2011 09:41 PM
Finding path of GMP and MPFR for gcc upgrade drosselmeyer Linux - Newbie 2 08-03-2011 07:15 AM
WTF??? MPFR asks for MPFR, nfsmw222 Linux - Newbie 2 04-06-2009 07:08 AM
GCC make error 2; stage 1 gmp (Book 6.4) agrestic Linux From Scratch 0 01-25-2009 03:28 PM
Can't Compile GMP with gcc mac 10.4.11 phy1729 Programming 1 04-16-2008 03:06 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration