From: jba AT lfpt DOT RWTH-Aachen DOT DE (Juergen Bausa) Subject: Re: Loading gnu made DLL with MSVC 10 Sep 1998 17:35:29 -0700 Message-ID: <199809100707.JAA00470.cygnus.gnu-win32@lisa.rwth-aachen.de> To: gnu-win32 AT cygnus DOT com 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 <0994cicc AT s1 DOT cise DOT it> > Subject: Loading gnu made DLL with MSVC > To: gnu-win32 AT cygnus DOT com > > 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 "gnu-win32-request AT cygnus DOT com" with one line of text: "help".