`make` error: gmp.h: No such file or directory.

Andrew Haley aph@redhat.com
Mon Mar 18 09:13:00 GMT 2013


On 03/18/2013 06:07 AM, zero modulo wrote:
> $ LDFLAGS="-L/sandbox/builds/lib" CPPFLAGS="-I/sandbox/builds/include"
> ./configure --prefix=$PREFIX
> [...]

Don't run configure with the source dir as cwd.  Instead, create a
build dir and run configure from there.

In the top-level source dir, run ./contrib/download-prerequisites
before running configure.

Andrew



More information about the Gcc-help mailing list