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
There was an error while loading. Please reload this page.
Home
Info
Host Libraries
Targets