Mail Archives: djgpp/1997/05/25/23:32:46
leereyno AT imap2 DOT asu DOT edu wrote:
>
> 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.
having shared libraries can add to the size of your distribution if you
want whatever you wrote to run on other people's machines (DOS and Linux
worlds are different in that you cannot count on everyone having djgpp
and all the libraries associated with it.) from that perspective, it
makes sense to have to distribute a program statically linked with the
objects that are needed than to have to distribute libc.a every time you
want your programs to reach "the general public".
that said, if you would like to add shared library support to djgpp, you
are definitely welcome.
> 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.
don't you feel a bit frustrated when this or that 1 mb zip file you
downloaded contains a 902K mfc40.dll?
--
Sinan
*******************************************************************
A. Sinan Unur WWWWWW
|--O+O
mailto:sinan DOT unur AT cornell DOT edu C ^
http://www.people.cornell.edu/pages/asu1/ \ ~/
Unsolicited e-mail is _not_ welcome, and will be billed for.
*******************************************************************
- Raw text -