Cross-Compiled Linux From Scratch - Version 2.0.0-Sparc

Chapter 6. Constructing a Temporary System

6.3. GMP-5.0.5

GMP is a library for arithmetic on arbitrary precision integers, rational numbers, and floating-point numbers.

6.3.1. Installation of GMP

Prepare GMP for compilation:

HOST_CC=gcc CPPFLAGS=-fexceptions ./configure --prefix=/tools \
 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
 --enable-cxx

Compile the package:

make

Install the package:

make install

Details on this package are located in Section 10.9.2, “Contents of GMP.”

AltStyle によって変換されたページ (->オリジナル) /