------- Comment #3 from brian at dessent dot net  2008-09-02 17:36 -------
Subject: Re:  mpfr & 32/64 multilib issue


g++ (and gcc, gfortran, etc.) are just driver programs that invoke other
programs, they don't use these libraries.  You need to look at cc1 (or
cc1plus, f951, etc.) to see the dependency on these libraries.  You can
use e.g. "ldd $(gcc -print-prog-name=cc1)" to get the path to them
programatically.

As pointed out already gmp and mpfr are *host* libraries not *target*
libraries.  Even when gcc is built in a multilib configuration
supporting several targets there is still only a single host compiler,
and thus you need to specify the gmp and mpfr appropriate for the host.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37330

Reply via email to