This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: build failure, GMP not available
Greg Schafer <gschafer@zip.com.au> writes:
> Mark Mitchell wrote:
>
> > I don't believe there's a serious problem with the concept, as long as
> > "./configure; make; make install" for GMP DTRT. If you can do it for
> > GCC, you can do it for a library it uses too.
>
> Just another data point.
>
> I tried building GMP on an i686-pc-linux-gnu Ubuntu system (but running on
> AMD64 hardware). The GMP configure script is apparently too smart for its
> own good because it detected my "build system" as x86_64-pc-linux-gnu and
> configure failed. I had to pass --build=i686-linux to get configure to
> complete. Yes, I should probably send a problem report to the GMP dev's..
I had the same problem on my powerpc-darwin system; the first build of
GMP built a GMP for the 64-bit ABI, which is useless for building GCC.