Hello, I see that in mingw-w64-crt/lib32/ are lot of def files which are basically same as def files in mingw-w64-crt/lib-common/, just lib32 variants have @STDCALL suffixes. They have same set of functions (just sometimes there are arch-specific available only for I386 or similar).
I was thinking if it would be possible to merge them and have just one def file for both I386 and non-I386 variants. For example there is mingw-w64-crt/lib32/kernel32.def and mingw-w64-crt/lib-common/kernel32.def.in and if it would be possible to merge them into one file. What about having one def file kernel32.def.in where would be also @STDCALL suffixes and when building non-I386 variant, the build process will filter that file over sed 's/@[0-9]*$//' and then process by cpp preprocessor? (Or first process by cpp and then by sed) This could decrease the need to have more def files for the same library (e.g. kernel32) and also maintenance of different variants of def files. Pali _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public