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):
undefined reference to `__printf_chk'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:599: autosp.exe] Error 1
make[1]: Leaving directory '/home/rdt/src/autosp'
make: *** [Makefile:502: all] Error 2

Does make require additional options?

On Thu, Oct 30, 2025 at 4:34 PM Peter0x44 via Mingw-w64-public <
[email protected]> wrote:

> Oct 30, 2025 8:24:01 PM Bob Tennent <[email protected]>:
>
> > I have a project on Linux, that uses gnu autotools (autoconf, automake,
> > configure, make). I've installed mingw64 but now I need to use analogues
> of
> > the autotools to build Windows executables.  I've done this before but
> I've
> > forgotten how and I can't find the relevant information on your web
> sites.
> > Can someone help me?
> >
>
> You have provided almost no detail at all to help.
> But I'll try, anyway.
>
> You need to obtain a mingw-w64 toolchain from your distro.
>
> After you have done that, you can run the `configure` script if your
> project already has it generated. Pass --host=x86_64-w64-mingw32 when
> invoking it.
>
> _______________________________________________
> 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