-
Notifications
You must be signed in to change notification settings - Fork 0
MPC
Anonymous1157 edited this page Jun 20, 2017
·
3 revisions
The order in which these libraries are built is important! MPC depends on GMP and MPFR.
Extract the tarball somewhere and create a folder outside of the source directory.
tar xf path/to/mpc-1.0.3.tar.gz
mkdir mpc-build
Configure MPC.
cd mpc-build
../mpc-1.0.3/configure --prefix="$HOME/.local/share/cross" --with-mpfr="$HOME/.local/share/cross" --with-gmp="$HOME/.local/share/cross" --enable-shared --disable-static LDFLAGS="-Wl,-rpath=$HOME/.local/share/cross/lib"
Build and install MPC.
make -j8
make install
Info
Host Libraries
Targets