LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux > 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

Tags used in this thread
Popular LQ Tags , ,

Reply
 
Thread Tools
Old 08-11-2009, 07:52 PM   #1
GuyWhoKilledBear
LQ Newbie
 
Registered: Nov 2006
Distribution: Slackware, Linux from Scratch, Ubuntu
Posts: 21
Thanked: 1
Why install MPFR and GMP in GCC as opposed to separately?


[Log in to get rid of this advertisement]
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.
GuyWhoKilledBear is offline  
Tag This Post , ,
Reply With Quote
Old 08-12-2009, 01:46 PM   #2
business_kid
Member
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware 122/Slamd64
Posts: 737
Thanked: 46
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'
business_kid 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
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
WTF??? MPFR asks for MPFR, nfsmw222 Linux - Newbie 2 04-06-2009 08:08 AM
GCC make error 2; stage 1 gmp (Book 6.4) agrestic Linux From Scratch 0 01-27-2009 12:44 AM
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 11:26 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration