Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3D62A993.AC202DD5@gmx.net>
Date: Tue, 20 Aug 2002 22:41:55 +0200
From: Lostmind <lostmind@gmx.net>
X-Accept-Language: de,en
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Problems exporting my DLL functions...
References: <3D5F1721.2808F1A3@gmx.net>
	 <20020820035042.B98873DC3@cavall.jtang.org> <3D5F33EC.5F9A8D24@gmx.net> <39336161164.20020820143142@familiehaase.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

> gcc -o khook.o -c khook.o
> gcc -shared -o mydll.dll khook.o

Cool, it works, thanx :D

...at least it creates a DLL, but finally two things:

1. How do I tell the compiler/linker what is my DLL-init-function
2. How do I tell the compiler/linker which functions I want to export (I
marked them with EXPORT in the file already, but they didn't seem to be
available in the created DLL)

Thanx, Klaus.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

