[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.3
From: |
Liviu Ionescu |
Subject: |
Re: REGRESSION: cross compile 4.3 fail on mingw-w64 7.0/GCC 9.3 |
Date: |
Mon, 28 Dec 2020 16:53:52 +0200 |
> On 28 Dec 2020, at 16:30, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Liviu Ionescu <ilg@livius.net>
>> Date: Mon, 28 Dec 2020 11:30:22 +0200
>>
>> Mingw 7 comes with its own definitions of fcntl() which conflict with those
>> in the windows related files in make.
>
> Are you sure?
Not any more :-(
> See: it quotes lib/fcntl.h, which is the Gnulib fcntl.h header in the
> lib subdirectory of the Make source tree.
> ... And so I wonder how come you have lib/fcntl.h in your build tree.
Good question. I didn't do anything special to get it.
My build script (that worked up to 4.2.1) does this:
export CC=x86_64-w64-mingw32-gcc
export CXX=x86_64-w64-mingw32-g++
make mingw64_defconfig HOSTCC="gcc" HOSTCXX="g++"
make HOSTCC="gcc" HOSTCXX="g++"
> Are
> you using the build_w32.bat batch file to build Make, or are you using
> some other build procedure?
No, since I'm running the build on Linux, not on native MS-Windows.
Any suggestion how to get rid of the unwanted Gnulib fcntl.h?
Thank you,
Liviu