Why install MPFR and GMP in GCC as opposed to separately?
Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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?
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'
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.