Hi I'm using MSYS2 and Mingw-w64 on a Windows 7 64 bit system and I've got a situation where I've compiles a program that uses GTK3 but I get a "cannot execute binary file: Exec format error" when I try to execute it.
I thought perhaps that my makefile was borked so I made a simple "hello world" using gtk3 and compiled it with the makefile and it works. I have a couple of other libraries that I'm linking to (libxls, xlslib, mariadb) but the code compiles with no major issues (a few gtk deprecation warnings) but otherwise it compiles cleanly. No I do have several large arrays of structs that I've got as global variables but I've got the exact same code running on a Linux x86_64 system without any issues. I'm compiling the code base (including the libxls and xlslib) on the same machine in the same manner. Only the mariadb dll is not. But I believe it's all in 64 bits. (is there a way of checking this?) What can cause the above error? Any help would be appreciated. Mark ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
