delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/09/10:23:21

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
Date: Mon, 9 Apr 2001 14:38:01 +0100 (BST)
From: Stephen Chan <scyc AT ecs DOT soton DOT ac DOT uk>
To: cygwin AT cygwin DOT com
Subject: Creating DLLs
Message-ID: <Pine.SOL.4.20.0104091427070.6519-100000@penelope.ecs.soton.ac.uk>
MIME-Version: 1.0

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

- Raw text -


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