delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/09/11:33:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Stephen Chan <scyc AT ecs DOT soton DOT ac DOT uk>
CC: cygwin AT cygwin DOT com
Subject: Re: Creating DLLs
References: <Pine DOT SOL DOT 4 DOT 20 DOT 0104091427070 DOT 6519-100000 AT penelope DOT ecs DOT soton DOT ac DOT uk>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019