This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA/RFC: Adding support for gmp and mpfr sources in the build tree
Nick Clifton wrote:
> Hi Mark,
>
>> Unless/until the top-level configury does a "staged install", we'll be
>> depending on the build directory structure of these libraries. We don't
>> control that, and we know they change from time to time. So, it sounds
>> like we'll be right back to the switches we've just agreed to remove
>> (e.g., --with-gmp-dir). So, I think this is a bad idea.
>
> Actually I thought that --with-gmp-dir was still in ? (Or maybe I
> missed a post about it being removed in the future).
I believe it's now gone, as per Kaveh's patch. We have --with-gmp=
(pointing at an installed GMP) and, more specifically,
"--with-gmp-include" and "--with-gmp-lib" to point at the include and
lib subdirectories, so handle the fact that some installed versions of
these libraries put the libraries in "lib64" instead of "lib".
I continue to believe that incorporating these libraries into our tree
is a bad idea, and that even including machinery to use in-tree copies
is a bad idea, at least until we have staged installation support. I
think GCC should be a stand-alone software package. However, as before,
I'll confine myself to trying to persuade, rather than trying to
interfere, as I realize that a lot of people presently use the "in-tree
build" process.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713