delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/20/17:03:43

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

> 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/

- Raw text -


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