[email protected] wrote:
> Hi,
> 
> We have some applications dependant on our libraries. All the
> applications are dynamically linked.(*.so).
> Whenever there is a change in class variables, addition of new methods
> in or libraries all the applications must recompile.
> 
> Can we build libraries in such a way that they are always backward
> compatible?
> 
> Regards
> 
> Oviaprasad D

A couple things:

Look for interdependencies.  For example, an include file that is 
included by all your libraries and source files that then includes all 
the other include files you use - making a change to one file causes a 
cascading effect to the top-level include file that causes the 
IDE/makefile to determine that everything needs to be recompiled.

On VC++, the linker supports incremental builds for faster rebuilding. 
It doesn't always work as expected but it does help speed things up a 
bit.  Precompiled headers help as well (especially in the "single 
include file drags in the kitchen sink" scenario previously described - 
sort of a lazy solution to the "problem").

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to