missing headers

Marc Glisse marc.glisse at inria.fr
Fri Sep 3 10:01:39 CEST 2010

On Thu, 2 Sep 2010, Marcus Woletz wrote:

> I've a small problem when compiling gmp 4.3.2 and 5.0.1:
> I need gmp for compiling a gcc toolchain. I've found that the best way
> is to just copy gmp (without version number) in the gcc source
> directory. In this case gmp is built automatically when compiling gcc.
> There's a little problem: gmp compiles OK, but when it comes to compile
> gcc, the two headers gmp-impl.h and longlong.h are not found. It seems
> that the files are not copied from the gmp source dir to the build dir.
> When I copy the thwo files from source dir to build dir, everything is
> fine and gcc compiles without an error.
> Is this a problem in my build process or in the build script of gmp?


This was (has been fixed) a gcc bug that only appeared with the latest 
version of mpfr.

mpfr was also planning an improvement that would fix this, but I don't 
know if anything has been done yet.

Marc Glisse

More information about the gmp-bugs mailing list