Friday, 18 Jan 2008
Friday, 18 Jan 2008
With a new major release of OpenOffice.org we finally get the opportunity to update some of our build tools. Especially compilers could use some refreshing, the default ones used by Sun OOo release engineering date from 2003/2004. A pretty complete list of the compilers used for production builds of OOo for the major platforms and distributions can be found here.
The planned changes in detail:
tags: build compiler openoffice.org
Tuesday, 26 Jun 2007
With milestone SRC680 m218 SunStudio 12 enters the list of supported compilers for building OOo. Actually the only change needed was to add a SunStudio 12 test to configure. This is amazing, considering the amount of new features and changes which went into the latest SunStudio version on one hand and the diversity of the OOo code base on the other hand.
Currently supported compilers:
Not all platform/compiler combinations are tested on a regular basis so some build breakage might still occur. If this happens, release engineering will gladly accept reasonable patches to get things going again.
Two platforms - MacOSX ppc and OS/2 - depend on gcc-3.3.x support, otherwise we would drop gcc-3.3.x from the list. This version exhibits a long standing bug in the old gcc parser which is triggered very frequently in the OOo code base. The new parser which was introduced with gcc-3.4 does not exhibit this bug. For new ports, gcc-3.3.x should be avoided.
tags: build compiler openoffice.org tools
Building OpenOffice.org is often described as complicated, tedious and error-prone. While it indeed needs more work than on Linux it is nevertheless doable. And once installed correctly it works reliably.
A problem is that the existing documentation how to set up this build environment and use it is distributed over several places in the tools.openoffice.org website and the OOo wiki, partially complementing or in the worst cases contradicting each other and also partially outdated. So I used myself as a guinea-pig and went through the whole process of installing a Windows build environment for OpenOffice.org on my home PC, following the existing documentation at all the places where I found some. I documented every step and checked problems with a lot of very helpful people who have already been there. The result of this is a – hopefully – comprehensive documentation that can be found here. It is an ODT document because I still haven't found a satisfactory way to store the content in the wiki. But I'm working on it.
Meanwhile I have tested this documentation with a lot of other interested developers and it seems that it is ready for prime time. It might be a little bit too comprehensive for the experienced developer but I think it's better this way. Unexperienced developers or pure Windows developers without own (development) experience on Unix systems might have a hard time understanding the existing documentation. This might have created the (IMHO false) impression that building OOo on Windows is so complicated.
I don't want to hand over this documentation without a big “thank you” to the people (Volker Quetschke, Kai Backmann and Martin Hollmichel to just name a few) that have created, set up and tested the environment that nowadays works pretty well. Especially the work that Oliver Bolte from the Sun Release Engineering did to make the build environment work with the “free” (as in “free beer”) Microsoft Visual Studio 2005 Express compiler is awesome. Thanks a lot.
tags: build openoffice.org tools windows