delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/23/01:00:30

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DLL
Date: Tue, 23 Dec 1997 00:41:29 -0500
Organization: Two pounds of chaos and a pinch of salt.
Lines: 27
Message-ID: <349F4F09.1019@cs.com>
References: <01bd0ed5$4bb025a0$0d54edcc AT default>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp229.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

_DEFAULT wrote:
> 
> How do I make the c/c++ components into a DLL?

DJGPP is not inherently capable of using DLLs, which are a
Windows-specific tool.  Even if you could create a DLL with DJGPP object
code in it, Windows programs would probably barf on the incompatible
format.  On the other hand, you have several alternatives, depending on
what you are trying to do.

First, if you just want dynamic modules in your DJGPP program, you can
try any of several user attempts to create that functionality.  One of
the more advanced projects is the "DLM" project; I don't know how far it
has gotten.

Second, if you want DJGPP code to be Windows-compatible, you cannot do
it with standard tools.  The RSXNTDJ toolkit, available from SimTel,
allows you to build and utilize Win32-native code, including DLLs and
other Windows filetypes, with the DJGPP compiler.

-- 
---------------------------------------------------------------------
|      John M. Aldrich       | "To be 'matter of fact' about the    |
|       aka Fighteer I       | world is to blunder into fantasy--   |
|   mailto:fighteer AT cs DOT com   | and dull fantasy at that, as the real|
| http://www.cs.com/fighteer | world is strange and wonderful." -LL |
---------------------------------------------------------------------

- Raw text -


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