bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: REGRESSION: cross compile 4.3 fail on mingw-w64 7.0/GCC 9.2


From: Paul Smith
Subject: Re: REGRESSION: cross compile 4.3 fail on mingw-w64 7.0/GCC 9.2
Date: Mon, 20 Jan 2020 17:10:12 -0500
User-agent: Evolution 3.34.1-2

On Mon, 2020-01-20 at 21:37 +0000, Nan . wrote:
> the actual command line is 
> 
> make[1]: Entering directory '/home/build/obj/n-make'
> depbase=`echo src/arscan.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> mingw64-gcc -DHAVE_CONFIG_H   -Isrc -I/home/build/src/make-4.3/src -Ilib
> -I/home/build/src/make-4.3/lib -DLIBDIR=\"/home/build/native/lib\"
> -DINCLUDEDIR=\"/home/build/native/include\"
> -DLOCALEDIR=\"/home/build/native/share/locale\" -I /home/build/src/make-
> 4.3/src/w32/include -Os  -Os -MT src/arscan.o -MD -MP -MF $depbase.Tpo -c
> -o src/arscan.o /home/build/src/make-4.3/src/arscan.c &&\
> mv -f $depbase.Tpo $depbase.Po
> make[1]: Leaving directory '/home/build/obj/n-make'

Unfortunately that's the command line to compile src/arscan.c.

We need to see the compiler command line for the source file that was
failing, which is src/w32/compat/dirent.c.

Assuming that the dirent.c compile line also shows
/home/build/src/make-4.3/src/w32/include as an include directory, then I'm
not sure what the problem is.

Perhaps you can investigate by running the compile line from your shell
prompt and replacing the "-c -o src/w32/compat/dirent.o" options with
"-E -o dirent.i" options to see what the preprocessor says, and which
dirent.h is being included.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]