[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-users] Whats the latest on libtool and the stub dll librar
From: |
Earnie Boyd |
Subject: |
Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries? |
Date: |
Thu, 26 Sep 2002 07:08:07 -0400 |
Elizabeth Barham wrote:
>
> This is just a simple report-in about the errors I mentioned having
> yesterday or the day before. The latest CVS libtool did not have any
> trouble and made the DLL fine.
>
> I'd also like to mention that the whole libtool seemed to work quicker
> than before.
>
> Thank you all very much and great job!
>
> On a related note, I have been having to add a "main" function to the
> DLL's like so:
>
> #if defined(__MINGW32__) && defined(DLL_EXPORT)
> int
> main(int argc, char* argv[])
> {
> return 0;
> }
> #endif
>
You shouldn't do this. I posted on the libtool list a
mingwlibsample.tar.gz under the heading of "Simple dll and static
library creation for MinGW" dated 9/19/2002.
> If I do not add this, it does not build the DLL. I'm concerned about
> the export of this function, however - if more than one DLL uses this
> method, could there be some kind of conflict and/or is there a better
> way to deal with this?
>
The -shared switch is required to build the dll.
Earnie.
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/24
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Bob Friesenhahn, 2002/09/24
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/26
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/28
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/28
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/28
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/29
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Elizabeth Barham, 2002/09/29
- Re: [Mingw-users] Whats the latest on libtool and the stub dll libraries?, Earnie Boyd, 2002/09/30