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

Notices

Reply
 
Search this Thread
Old 08-11-2009, 06:52 PM   #1
GuyWhoKilledBear
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?

Thanks.
 
Old 08-12-2009, 12:46 PM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,391

Rep: Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557Reputation: 557
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'
 
  


Reply

Tags
gcc


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


All times are GMT -5. The time now is 10:03 PM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration