From: leereyno AT imap2 DOT asu DOT edu Newsgroups: comp.os.msdos.djgpp Subject: Shared libraries Date: 25 May 1997 10:49:17 GMT Organization: Arizona State University Lines: 15 Message-ID: <5m95fd$n89@news.asu.edu> NNTP-Posting-Host: general2.asu.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Djgpp currently has no support for shared libraries the way the Unix versions of GCC do. Shared libraries are a great thing! The final executable code is smaller because the library isn't included in the program itself, it's in a separate file which gets loaded at run time. This can really add up when you have even a few compiled programs sitting on your drive. The Linux version of my mandelbrot program takes up about 13k for the executable itself. The dos version compiled under djgpp takes up over 100k. It's really frustrating to know that most of that space is taken up by code which is already sitting in another file in my [lib] directory. I don't know how hard it would be to add shared libraries to a dos compiler. I figure that if windows can be created to use shared libraries (.DLL) then other protected mode programs should be able to as well. Lee Reynolds