[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] dll import libs for MinGW
From: |
Sergey Khorev |
Subject: |
Re: [Chicken-users] dll import libs for MinGW |
Date: |
Wed, 08 Feb 2006 13:54:00 +0300 |
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)