On Fri, Aug 20, 2021 at 9:59 AM Arjen Markus via Fortran <fortran@gcc.gnu.org> wrote: > > I am trying to build the compiler suite to test the two patches Steve Kargl > posted. But I run into a problem with the mpfr and mpc libraries: the > linker claims it cannot find them. > > I checked this, in fist instance they were not present in the location they > were assumed to be, but I had copies from an earlier build, so I copied > them into the location indicated by the -L option. That does not help > though: same error messages. > > How do I solve this?
The easiest is probably to build them in-tree by means of executing ./contrib/download_prerequesites which will download and unpack them into your source tree. Other than that you are likely either missing some of the requirements or lack the appropriate --with-{gmp,mpc,mpfr}[-lib] configury. What host operating system are you using? Richard. > Regards, > > Arjen