> -----Original Message-----
> From: Luca Bacci <luca.bacci...@gmail.com>
> Sent: Thursday, May 4, 2023 10:50 AM
> To: mingw-w64-public@lists.sourceforge.net
> Subject: [Mingw-w64-public] Exported symbols of import .lib are influenced
> by the .def file
>
> Hello! we're observing a problem when compiling x86 DLLs using mingw-w64
> gcc. Developers may choose to mark exported functions of a DLL using a .def
> definition file:
>
> LIBRARY mylib.dll
> EXPORTS
> foo
> bar
Did you try adding the decorated symbols to the export definition file?
The import file should just work with decorated names. Can you try
LIBRARY mylib
EXPORTS
foo@8
provided foo() takes eight bytes of arguments (like one 64 bit pointer, or two
32-bit integers, for example).
Tom
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public