From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: Compiling Windows dll's with djgpp/gcc Date: Tue, 21 Oct 1997 01:00:06 -0500 Organization: Spectrum Healthcare Services Lines: 31 Message-ID: <344C44E6.20910FB@a.crl.com> References: <34473DC2 DOT 71C3 AT post1 DOT com> <3447EA2E DOT 44D4 AT cs DOT com> NNTP-Posting-Host: a116016.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sean Keogh wrote: > > John M. Aldrich wrote in message <3447EA2E DOT 44D4 AT cs DOT com>... > >Hamish Rose wrote: > >> > >> Is this possible? > > > >The short answer: No. > > > >The long answer: DJGPP is a DOS-native compiler; it cannot inherently > >produce Windows-native code; therefore it cannot use or create DLLs. > >However, there exist numerous add-on toolkits that either allow you to > >produce things similar to DLLs for DJGPP programs, and there is even a > >toolkit which allows DJGPP to produce Win32-native code. It's called > >rsxntdj and is available from SimTel mirrors in the same place you got > >DJGPP. Be sure to read the insructions before using it!! > > There is also a Win32 port of some (most?) of the GNU C/C++ development > tools to Win32. It's called mingw32, and you can find it at > http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/ > It comes with all the Win32 libraries, header files etc, and seems to > support all of the VC++ features other than MFC. With this, you CAN compile > DLL files (but I'm not sure how, having never done it myself). mingw32 stands for minimalist GNU-Win32. It is based on the GNU-Win32 done by Cygnus. http://www.cygnus.com/misc/gnu-win32 has links to the official mingw32 site and several other relevent projects. -- Weiqi Gao weiqigao AT a DOT crl DOT com