From: Mark Phillips Newsgroups: comp.os.msdos.djgpp,comp.lang.functional Subject: creating DLLs Date: Fri, 11 Jun 1999 10:45:59 -0500 Organization: The University of Manitoba Lines: 21 Message-ID: NNTP-Posting-Host: gold.cs.umanitoba.ca Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: canopus.cc.umanitoba.ca 929115976 8238 130.179.24.1 (11 Jun 1999 15:46:16 GMT) X-Complaints-To: Postmaster AT cc DOT umanitoba DOT ca NNTP-Posting-Date: 11 Jun 1999 15:46:16 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I'm trying to integrate some DJGPP code I've written into a library for the functional programming language Haskell. I'm using a utility 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. Apparently, under "an ELF-based OS" I need to do something like this: gcc -fPCI -shared -o GCTest.so GCTest.c -I/usr/local/hugs/src on the other hand, if I were using Visual C++, I would do this: c| /nologo /LD /MD -o GCTest.dll GCTest.c -I/hugs/src Unfortunately I am using neither of these compilers. I'm thinking it would probably be some hybrid between the two. Does anyone know what I would need to write in DJGPP? Is this even _possible_ in DJGPP? Any advice is appreciated... Mark Phillips