BJV> I have been scratching my head wondering why my CMake build doesn't BJV> generate any dll import libraries with MinGW. I find that chicken.h has BJV> lines about __declspec(dllexport) that look wrong. It appears that this BJV> is done only for MSVC compilers. I don't think this is correct. In BJV> particular, MinGW is not at all like Cygwin. The relevant section is:
The MinGW build works so probably the problem is not in Chicken sources but in the way they are built. I would recommend you to try build Chicken with MSYS and see which commands does libtool use to build dll. BTW why do you need import libraries? ld in both MinGW and Cygwin can link to dlls directly with the -l swith (e.g. -lchicken will try bind to libchicken.dll along with some other filenames) _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
