Hello,

I need SDL 1.2 for building the open source OpenXCom project and I'd like to do this in 64-bits, trying to link dynamically to SDL so anybody could use my build with the 64-bits "SDL.dll" downloaded from libsdl.org.

For 32-bits building, the files provided by libsdl.org for MinGW building are fine. But they provide nothing for 64-bits building with MinGW. The 64-bits DLL which is fine for dynamic linking, but you also need to link statically with the small module SDLmain, and they provide no 64-bits libSDLmain.a, only a MSVC's SDLmain.lib which I was completely unable to use with MinGW.

The sources are provided, but all I can use to build them is either a MSVC's project file or scripts for linux building. I expected I could use MSYS2 to build SDL with the scripts for linux but I read in the wiki: "Use |msys2| shell for running |pacman|, |makepkg|, |makepkg-mingw| and for building POSIX-dependent software that you don't intend to distribute. Use |mingw| shells for building native software and other tasks." Does that mean I cannot use MSYS2 to build a libSDLmain.a who will be usable without using MSYS2? I must confess I am a bit confused.

Regards,

Julien Darthenay
------------------------------------------------------------------------------
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to