On 23 November 2011 03:06, Alex J. Avriette wrote:
>
> Oh, one last thing, the environment had to be set correctly. I had
> mpc, mpfr, and gmp in /usr/local, and the following environment
> variables needed to be set for the compile to work:
> ABI=64
> CONFIG_SHELL=sh (NOT! bash)
> ARCH=x86-64
> CFLAGS="-m64 ${ARCH}"
> DYLD_LIBRARY_PATH=/usr/local/lib
> CC=gcc
>
> I fear it's a bit of cargo cultery with the environment variables
> (CC=gcc??), but it just seemed to work better that way.

It works even better if you let gcc build gmp, mpfr and mpc, instead
of building and installing them separately.

http://advogato.org/person/redi/diary/253.html

(The shell variables used there are not exported and are not needed
for the build, they're just to make the instructions easier to adapt
by making the variable things controlled by variables.)

Reply via email to