This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: mpfr.h cannot be located while compiling GCC
I added GMP & MPFR folders into GCC source code folder .......
configured GCC ... into different directory named objdir which is
outside gcc source code folder.
Now I am doing make .... but it gives the following error:
.
.
.
"_mpfr_tan", referenced from:
_mpfr_tan$non_lazy_ptr in libbackend.a(builtins.o)
"_mpfr_sin", referenced from:
_mpfr_sin$non_lazy_ptr in libbackend.a(builtins.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [cc1-dummy] Error 1
make[2]: *** [all-stage1-gcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2
I am on MAC OS X 10.5.7. GCC I am trynig to compile is 4.4.1 & GMP i
am using is gmp-4.2.4 & mpfr-2.4.1