On 04 Jul 2008, at 17:15, Vladimir Zhirov wrote:

Suppose application and library files are:

project1.pas
project1.o
project1.compiled
lgpled_lib.pas
lgpled_lib.o
lgpled_lib.ppu

What files I must make public, and how people are supposed to use them
in order to relink my application with newer/modified version of the
library?

Compile the program with -Cn.

Then supply the users with all .o files referenced from the generated link.res file (including those from the rtl/flc/packages/...), as well as with the link.res file itself and the generated ppas.sh/ppas.bat file.

Or, as Tomas mentioned, you can also use the LGPL code as a shared library. In that case the linking is done by the dynamic linker, and you don't have to distribute the parts of your program as linkable components.


Jonas
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to