We are currently porting a linux C++ project to windows. The project
consists of several dll's (or .so's). To recreate those dll's in
Windows it seems like you have to add a lot of __cdecls definitions or
use a definitions file. Neither method is appealing to us. So, I read
somewhere that
-Original Message-
From: cygwin-owner On Behalf Of Niklas Wallin
Sent: 10 March 2004 07:59
The problem was that I could not link my MSVC program with
the import library, since the symbols are decorated
differently. Cygwin (and I guess Linux) creates symbols like
On Wed, 10 Mar 2004 08:59:26 +0100, Niklas Wallin wrote in
[EMAIL PROTECTED]:
We are currently porting a linux C++ project to windows. The project
consists of several dll's (or .so's). To recreate those dll's in
Windows it seems like you have to add a lot of __cdecls definitions or
use a
Thanks for your answer Alejandro, I still can't get it right though.
class MyClass
{
public:
MyClass();
~MyClass();
int getValue();
void setValue(int val);
private:
int value_;
};
Try:
cc++ -shared -mno-cygwin -o mydll.dll mydll.cpp \
-Wl,--out-implib=mydll.lib \
On Wed, Mar 10, 2004 at 02:21:41PM +0100, Niklas Wallin wrote:
When I try to link the .lib file with an MSVC executable it still can't
find the references. I am not sure what to expect, should the lib, def
and dll contain Cygwin decorated symbols (which is the case now) or the
MSVC symbols? Or
On Wed, 10 Mar 2004, Christopher Faylor wrote:
On Wed, Mar 10, 2004 at 02:21:41PM +0100, Niklas Wallin wrote:
When I try to link the .lib file with an MSVC executable it still can't
find the references. I am not sure what to expect, should the lib, def
and dll contain Cygwin decorated
On Wed, Mar 10, 2004 at 09:38:06AM -0600, Brian Ford wrote:
On Wed, 10 Mar 2004, Christopher Faylor wrote:
On Wed, Mar 10, 2004 at 02:21:41PM +0100, Niklas Wallin wrote:
When I try to link the .lib file with an MSVC executable it still can't
find the references. I am not sure what to expect,
On Wed, 10 Mar 2004, Christopher Faylor wrote:
On Wed, Mar 10, 2004 at 09:38:06AM -0600, Brian Ford wrote:
On Wed, 10 Mar 2004, Christopher Faylor wrote:
http://cygwin.com/faq/faq_4.html#SEC120
I am probably wrong, as I'm sure cgf is *way* more knowledgable than I,
but I got the impression
Brian Ford wrote:
Because it took me 20 minutes to dig back through the list archives and
find the set of posts that confused me :^\? I still don't think I found
all of them.
With C++, the problem is that it's not just a matter of matching the
mangling scheme - it's a matter of matching the MS
On Wed, 10 Mar 2004 14:21:41 +0100, Niklas Wallin wrote in
[EMAIL PROTECTED]:
Hi Niklas,
Thanks for your answer Alejandro, I still can't get it right though.
You are welcome, but this has truly veered into the realms of the
off-topic.
So in order to pull it back on track, let's do a
10 matches
Mail list logo