LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Why install MPFR and GMP in GCC as opposed to separately? (https://www.linuxquestions.org/questions/linux-software-2/why-install-mpfr-and-gmp-in-gcc-as-opposed-to-separately-746855/)

GuyWhoKilledBear 08-11-2009 06:52 PM

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.

business_kid 08-12-2009 12:46 PM

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'


All times are GMT -5. The time now is 08:18 PM.