The attachment didn't seem to make it.  Trying again to include configure
output:

% ./configure --build=x86_64-linux-gnu --host=x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... x86_64-w64-mingw32-strip
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-w64-mingw32-gcc accepts -g... yes
checking for x86_64-w64-mingw32-gcc option to enable C11 features... none
needed
checking whether x86_64-w64-mingw32-gcc understands -c and -o together...
yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of x86_64-w64-mingw32-gcc... gcc3
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for stdio.h... (cached) yes
checking for time.h... yes
checking for getopt.h... yes
checking for ctype.h... yes
checking for limits.h... yes
checking for _Bool... yes
checking for stdbool.h that conforms to C99... yes
checking for size_t... yes
checking for strstr... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands



On Thu, Oct 30, 2025 at 10:17 PM LIU Hao <[email protected]> wrote:

> 在 2025-10-31 04:46, Peter0x44 via Mingw-w64-public 写道:
> > On 2025-10-30 21:42, Bob Tennent wrote:
> >> I have the mingw-w64 package installed.  I've run configure
> >> --host=x86_64-w64-mingw32 apparently successfully.  But subsequent make
> is
> >> not successful.  The last error messages are
> >>
> >> /usr/bin/x86_64-w64-mingw32-ld:
> >> /usr/include/x86_64-linux-gnu/bits/stdio2.h:86:(.text.startup+0x51b):
> > Well, files getting pulled in from /usr/include/x86_64-linux-gnu is not
> correct.
>
> Is there something like this in config.log?
>
>     checking for x86_64-w64-mingw32-gcc... no
>     checking for gcc... gcc
>     checking whether the C compiler works... yes
>     checking for C compiler default output file name... a.out
>
> If a cross compiler for is not installed, _configure_ can actually go on
> with the native compiler, which
> is not a correct setup.
>
> And, it's recommended to pass both `--build=x86_64-linux-gnu` and
> `--host=x86_64-w64-mingw32`. If
> `--build` is not passed and wine-binfmt is installed, it can be
> misdetected as a native setup.
>
>
>
> --
> Best regards,
> LIU Hao
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to