This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/37330] mpfr & 32/64 multilib issue
- From: "brian at dessent dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Sep 2008 17:36:56 -0000
- Subject: [Bug bootstrap/37330] mpfr & 32/64 multilib issue
- References: <bug-37330-16657@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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