On 07/06/11 23:53, Jonathan Wakely wrote: > On 7 June 2011 20:20, kevin diggs wrote: >> Hi, >> >> On Tue, Jun 7, 2011 at 2:50 AM, Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote: >>> >>> Anyway, by far the biggest problem is the "cannot compute suffix of >>> object files" failure due to trying to install the prerequisite libs >>> by hand in arbitrary places unknown to the dynamic linker. A more >>> useful configure check would be to test that early on and fail with a >>> meaningful message. >> >> I hope to avoid getting flamed for this, but ... >> >> If I give gcc a --with-gmp=<path>, I do NOT understand why that is not >> enough. Though I admit I do not understand all of the dynamic library >> location machinery. From what little I understand, If gcc built itself >> with -rpath then all would be cool??? Maybe a new configure option: >> --enable-self-rpath? > > If by "self rpath" you mean setting rpath to the directory where gcc > is installed that won't help when people have installed gmp, mpfr and > mpc elsewhere (which they often do) This subject never seems to end. Every month we go around it again. I really don't understand why people go through so much pain for GMP. If everyone just ran ./contrib/download_prerequisites first, the problem would go away. Maybe we need to revise the build instructions. Andrew.