Xref: news2.mv.net comp.os.msdos.djgpp:4476 From: pieterh AT sci DOT kun DOT nl (Peter den Haan) Newsgroups: comp.os.msdos.djgpp Subject: Dynamic linking and LGPL Date: Sat, 01 Jun 1996 19:41:24 +0100 Organization: University of Nijmegen, The Netherlands Lines: 25 Message-ID: NNTP-Posting-Host: neutron.sci.kun.nl Summary: Does dynamic linking affect LGPL conditions? To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp It appears that DJGPP will get DLL type libraries at some point in the (near?) future. Great! Am I right in assuming that it will be eventually possible to put the C and C++ libraries in DLLs? The LGPL, covering programs linked to libgpp.a, requires one to distribute the program in linkable form, "so that the user can modify the Library and then relink to produce a modified executable containing the modified Library." Provided it is feasible to put all GNU C++ lib code in a libgpp.dll file plus maybe another dll with template instantiations etc, linking with the library would occur at run time. Modifying the library and linking it against the program as described in the LGPL would be as simple as generating a new libgpp.dll. Does this mean that it'd no longer be necessary to provide the program's object files? I'd think that for commercial purposes, many would be happier distributing libgpp.dll (+ source) rather than mysecretprogram.o. - Peter -- pieterh AT sci DOT kun DOT nl http://thef-nym.sci.kun.nl/~pieterh/