------- Comment #20 from fxcoudert at gcc dot gnu dot org  2006-05-20 20:07 
-------
(In reply to comment #18)
> The error
>   /usr/src/local/gcc/libgfortran/mk-kinds-h.sh: Unknown type
> happens because gfortran was compiled without -Wl,-R/usr/local/lib, so it
> cannot find libmpr.
> 
> The top level configure accepts --with-mpfr=/usr/local --with-gmp=/usr/local,
> and doesn't spot any problems, as it AC_TRY_LINKs the libraries rather than
> AC_TRY_RUN them.

I'll note a few things here:
  - what you report is why PR 21547 was opened for: when you specify
--with-gmp=/usr/local, you still need to have /usr/local/lib in your
LD_LIBRARY_PATH to build libgfortran
  - this can be both seen as a bug or a non-bug; I think it's a bug, and if
deemed a feature, it should be strongly emphasized in the docs
  - I once proposed a patch, but top-level configury is a tough matter and we
never reached a consensus on how this should be handled, so the bug is still
there

If you want to be kept informed of the resolution of this issue, please add
yourself in the CC list of PR 21547.


-- 


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

Reply via email to