X-Authentication-Warning: gold.cs.umanitoba.ca: umphill5 owned process doing -bs Newsgroups: comp.os.msdos.djgpp Date: Mon, 14 Jun 1999 12:06:15 -0500 (CDT) From: Mark Phillips To: Eli Zaretskii cc: djgpp AT delorie DOT com Subject: Re: creating DLLs In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk thanks for the reply. > > called Green-Card. I really must stress the fact that I don't really > > know what I'm doing, but I'm told I need to create a dll. > > Do you HAVE to use a DLL, is this just a nice-to-have feature? In > other words, will the program work when linked statically? > No. It looks like the only way I can do this is with a DLL. > If you MUST use a DLL, you might consider using one of the > DJGPP-compatible packages that allow libraries to be dynamically loaded at run time. See section 22.3 of the FAQ for some pointers. > I saw two packages, but one link seemed to be broken, and the other went to the right page, but the files didn't seem to be up there. Is mingw32 djgpp compatible? Do I need to download cygwin to use it? I just noticed that the green-card docs explicitly mention mingw32: "using the mingw32 backend of gcc that's supplied by the Cygwin toolchain distribution: gcc -mno-cygwin -o GCTest.o GCTest.c -I/hugs/src dllwrap -mno-cygwin --target=i386-mingw32 --export-all \ --def HugsExt.def GCTest.o -o GCTest.dll" Do you think it would be possible to compile a dll written in djgpp this way? Thanks again, Mark Phillips