On Sun, 29 Mar 2009, Laurent GUERBY wrote: > libbackend.a(builtins.o): In function `fold_builtin_1': > ../../trunk/gcc/builtins.c:10319: undefined reference to `mpfr_j0' > ../../trunk/gcc/builtins.c:10325: undefined reference to `mpfr_j1' > ../../trunk/gcc/builtins.c:10331: undefined reference to `mpfr_y0' > ../../trunk/gcc/builtins.c:10337: undefined reference to `mpfr_y1'
It appears your problem is that the directory with libstdc++ in it also has an old MPFR version in it, so passing a -L option for it interferes with finding the right MPFR. In that case, --with-host-libstdc++=/usr/lib/libstdc++.so should work - you need to name the actual file to use for linking libstdc++ rather than giving -L and -l options. -- Joseph S. Myers jos...@codesourcery.com