Date: Wed, 12 Jan 2000 08:59:28 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Mark Poolman <mgpoolman AT brookes DOT ac DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: dlls with djgpp
In-Reply-To: <387B657C.5D6B7667@brookes.ac.uk>
Message-ID: <Pine.SUN.3.91.1000112085911.28074M-100000@is>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk


On Tue, 11 Jan 2000, Mark Poolman wrote:

>      I hope this isn't too obvious a question to post, but how do I get
> djgpp (programs) to generate (load) dlls.

You don't.  DJGPP cannot produce DLLs.

> The equivalent in *n*x would
> be the  -shared flag and the functions in dlfcn.h, dlopen() etc. But
> none of these of these seem to exist in DJGPP.

DJGPP doesn't support shared libraries.  There is a limited facility,
called DXE, for dynamic loading of simple code modules, but it's a far
cry from shared libraries.  See section 22.14 of the FAQ for more
details about DXE.

There are two optional packages written for DJGPP which allow more
versatile dynamic code loading.  Look in section 22.3 of the FAQ for
DLM and DLX.