This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/21547] GMP/MPFR shared libraries not in LD_LIBRARY_PATH: failure to build libgfortran
- From: "ghazi at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Nov 2006 00:13:34 -0000
- Subject: [Bug libfortran/21547] GMP/MPFR shared libraries not in LD_LIBRARY_PATH: failure to build libgfortran
- References: <bug-21547-10634@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from ghazi at gcc dot gnu dot org 2006-11-16 00:13 -------
This issue may have more impact now that we're using GMP/MPFR for all languages
via the middle-end. IMHO, the link step for cc1 et al. should prefer the
static libs over the shared ones, if they exist. Not sure if that requires
libtool to accomplish portably or not.
BTW, to avoid this, I always build GMP/MPFR with --disabled-shared.
--
ghazi at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ghazi at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21547