This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: creating shared dlls yields undefined reference to `WinMain@16' in mingw 4.3
- From: Andrew Haley <aph at redhat dot com>
- To: Daniel Walter <d2walter at hotmail dot com>
- Cc: Danny Smith <dansmister at gmail dot com>, java at gcc dot gnu dot org
- Date: Thu, 18 Dec 2008 10:16:26 +0000
- Subject: Re: creating shared dlls yields undefined reference to `WinMain@16' in mingw 4.3
- References: <BLU138-DAV9D09A737E6E1E07A4933D80F30@phx.gbl>
Daniel Walter wrote:
> Thank you for all the help on this. For anyone who is searching the
> archives for MinGW gcj information, I will summarize.
>
> 1. If you are trying to build a dll in MinGW, you may need to make a
> dummy WinMain function.
This is wrong, though. Surely someone knows if Windows has something
like dlsym().
Andrew.