Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AD1C882.DF87334B@ece.gatech.edu> Date: Mon, 09 Apr 2001 10:34:42 -0400 From: "Charles S. Wilson" X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Stephen Chan CC: cygwin AT cygwin DOT com Subject: Re: Creating DLLs References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit See http://www.neuro.gatech.edu/users/cwilson/cygutils/dllhelpers-0.2.6.tar.gz for some examples. Some documentation (slightly out of date) is at Mumit's website -- I don't remember the URL, but there's a link from the Cygwin webpage. --Chuck Stephen Chan wrote: > > Hi, > > I'm having trouble creating DLLs, and the stock example at: > http://www.cygwin.com/cygwin-ug-net/dll.html doesn't work either :( > > I get the following error messages( gcc -s -Wl,--base-file,mydll.base -o > mydll.dll mydll.o -Wl,-e,_mydll_init AT 12): > > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-2/../../../../i686-pc-cygwin/bin/ld: warn > ing: cannot find entry symbol _mydll_init AT 12; defaulting to 00401000 > /usr/lib/libcygwin.a(libcmain.o)(.text+0x6a):libcmain.c: undefined > reference to > `WinMain AT 16' > collect2: ld returned 1 exit status > > Can anyone help? > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple