"Gabriel Staples, ElectricRCAircraftGuy.com" <erca...@gmail.com> writes:

> In the answer <https://stackoverflow.com/a/77435216/4561887>, please jump
> halfway down, to the section titled "Explanation of the
> ${gcc_srcdir_RELATIVE}/configure relative path fix that works". I can
> neither explain it more nor less simply than that.

So actual error from your config.log is

  configure:27432: gcc -c -g -O2 -D__USE_MINGW_ACCESS -DNO_ASM 
-I/c/Users/gabriel/GS/dev/Microchip_XC32_Compiler/xc32-v4.35-src/pic32m-build/opt/include
 -imacros host-defs.h conftest.c >&5
  conftest.c:80:10: fatal error: 
/c/Users/gabriel/GS/dev/Microchip_XC32_Compiler/xc32-v4.35-src/pic32m-source/gcc/gmp/gmp-h.in:
 No such file or directory
     80 | #include 
"/c/Users/gabriel/GS/dev/Microchip_XC32_Compiler/xc32-v4.35-src/pic32m-source/gcc/gmp/gmp-h.in"
        |
        
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  compilation terminated.

And that is from running gmp's configure script, not the configure
script of one of the other components your building? That looks rather
strange to me:

(1) I'm not used to autoconf putting absolute file names in #include
    lines in conftest.c. At least, I have never noticed it doing that.

(2) It makes no sense for any C code, in conftest.c or otherwise, to
    ever attempt to include gmp-h.in. That's not a valid C header file,
    since it lacks the substitutions that turns it into a valid gmp.h
    header file.

Regards,
/Niels

-- 
Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to