Re: Building OpenOffice.org with GNU make

Stephan Bergmann <[email protected]> Mon, 07 Dec 2009 11:51:07 +0100
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
On 12/04/09 17:52, bjoern michaelsen - Sun Microsystems - Hamburg 
Germany wrote:
> http://blogs.sun.com/GullFOSS/entry/building_openoffice_org_with_gnu

Citing from there:  "All modern SCM -- and that includes Mercurial, 
which we are using now -- support bisectional bug-hunting. However, this 
is not much fun if one has to do a complete rebuild on each step. Full 
dependencies would allow to step forward or backwards through history 
doing rebuilds only of stuff that really changed. Also, the necessity to 
do a complete rebuild after a resync will be gone, when we have reliable 
full dependencies.

Before making such bold claims, I think you should first specify exactly 
what you mean with "full dependencies."  Would they, for example, cover 
the following situations?

(1)  A new file x/z is added to the SCM.  A file y/z already exists. 
Will all C/C++ files be recompiled that #include "z" and have -Ix before 
-Iy on their compiler command lines?

(2)  A linker switch is added to a makefile variable X in some file y. 
Will all the linker invocations that depend on X, in all the makefiles 
that (indirectly) include y be re-done?

-Stephan