Subject: Re: Loading gnu made DLL with MSVC
From: [email-masked] (Juergen Bausa)

10 Sep 1998 17:35:29 -0700
Message-ID: <[email-masked]>
To: [email-masked]

This example may run, since the dll uses no functions from 'cygwinb19.dll'. 
However, if you need to use for example 'malloc' it will crash. This is the 
problem. And there seems to be no solution yet. Thus, the cygnus gcc can
only create trivial or proprietary dll's.

Juergen

> From: Massimo CICCOTELLI <[email-masked]>
> Subject: Loading gnu made DLL with MSVC
> To: [email-masked]
> 
> Hi all!!
> 
> We are looking with great interest at the debate on how to make
> DLL with gcc which can be loaded by MSVC.
> 
> Picking up from different mails on the argument and after some 
> trials, we managed to build up a simple DLL (with egcs-1.0.2-
> mingw32 by Mumit) which can correctly loaded in MSVC 5.0. 
> Here is how:
> 

>------------------------------- testlib.c ----------------------------------------
>int intsum(int arg1, int arg2) { 
>   return arg1+arg2;
>}
>------------------------------ end of testlib.c ------------------------------
>
-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".