<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AlbinoNeto</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=AlbinoNeto"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/AlbinoNeto"/>
	<updated>2026-05-22T09:42:58Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:AlbinoNeto&amp;diff=219292</id>
		<title>User:AlbinoNeto</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:AlbinoNeto&amp;diff=219292"/>
		<updated>2013-05-05T14:56:37Z</updated>

		<summary type="html">&lt;p&gt;AlbinoNeto: /* Where do I contribute */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Albino B Neto =&lt;br /&gt;
&lt;br /&gt;
 ID Apache: bino28&lt;br /&gt;
 IRC: bino&lt;br /&gt;
 E-mail: binoanb [at] gmail [dot] com&lt;br /&gt;
 identi.ca: @binoanb&lt;br /&gt;
 Homepage: albinopcs.wordpress.com&lt;br /&gt;
&lt;br /&gt;
== Where do I contribute ==&lt;br /&gt;
&lt;br /&gt;
* [[PT-BR|Brazilian community]]&lt;br /&gt;
* Translation pt_BR (L10N)&lt;br /&gt;
* Codes&lt;br /&gt;
* QA&lt;br /&gt;
* Users&lt;br /&gt;
* Marketing&lt;/div&gt;</summary>
		<author><name>AlbinoNeto</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:AlbinoNeto&amp;diff=219291</id>
		<title>User:AlbinoNeto</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:AlbinoNeto&amp;diff=219291"/>
		<updated>2013-05-05T14:55:33Z</updated>

		<summary type="html">&lt;p&gt;AlbinoNeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Albino B Neto =&lt;br /&gt;
&lt;br /&gt;
 ID Apache: bino28&lt;br /&gt;
 IRC: bino&lt;br /&gt;
 E-mail: binoanb [at] gmail [dot] com&lt;br /&gt;
 identi.ca: @binoanb&lt;br /&gt;
 Homepage: albinopcs.wordpress.com&lt;br /&gt;
&lt;br /&gt;
== Where do I contribute ==&lt;br /&gt;
&lt;br /&gt;
* [[PT-BR|Brazilian community]]&lt;br /&gt;
* Translation pt_BR&lt;br /&gt;
* Codes&lt;/div&gt;</summary>
		<author><name>AlbinoNeto</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=219290</id>
		<title>Documentation/Building Guide AOO/Step by step</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO/Step_by_step&amp;diff=219290"/>
		<updated>2013-05-05T14:50:19Z</updated>

		<summary type="html">&lt;p&gt;AlbinoNeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Step by step building guides for different platforms}}&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
This page is intended as a collection of simple step-by-step recipes to build Apache OpenOffice from source code.  A more thorough explanation of what the individual steps do and why they are necessary can be found in the [[Documentation/Building_Guide_AOO|building guide]].&lt;br /&gt;
&lt;br /&gt;
=Ubuntu 12.04=&lt;br /&gt;
&lt;br /&gt;
*Setup VirtualBox with Ubuntu 12.04 64 bit on Windows7 64bit host.  A native installation is of course fine, too.&lt;br /&gt;
*Let updater update ca. 380 packages. Restart.&lt;br /&gt;
*Get the source.  You can start with the source release or by checking out from SVN:&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Source release&lt;br /&gt;
! SVN&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| Build from source release if you want to build OpenOffice once but don&amp;#039;t want to do any development.&lt;br /&gt;
| Build from SVN if you want to development work with OpenOffice.&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| &lt;br /&gt;
* Download AOO 3.4.1 source tarball from&lt;br /&gt;
http://people.apache.org/~jsc/developer-snapshots/r1372282/src/aoo-3.4.1-incubating-src.tar.bz2&lt;br /&gt;
&lt;br /&gt;
* Optional: Download signature from&lt;br /&gt;
http://people.apache.org/~jsc/developer-snapshots/r1372282/src/aoo-3.4.1-incubating-src.tar.bz2.asc&lt;br /&gt;
&lt;br /&gt;
and verify the source tarball with&lt;br /&gt;
 gpg --verify aoo-3.4.1-incubating-src.tar.bz2.asc \&lt;br /&gt;
              aoo-3.4.1-incubating-src.tar.bz2&lt;br /&gt;
Note that you have to have the keys already imported to your key chain.&lt;br /&gt;
The keys can be found on the download page:&lt;br /&gt;
&lt;br /&gt;
http://www.apache.org/dist/incubator/ooo/KEYS&lt;br /&gt;
&lt;br /&gt;
* Unpack source:&lt;br /&gt;
  cd /tmp&lt;br /&gt;
  tar -xjf ~/Downloads/aoo-3.4.1-incubating-src.tar.bz2&lt;br /&gt;
  cd aoo-3.4.1/main&lt;br /&gt;
| &lt;br /&gt;
* Start with creating a parent directory for the source code.  Don&amp;#039;t use &amp;lt;code&amp;gt;/tmp&amp;lt;/code&amp;gt; because that is deleted on every boot:&lt;br /&gt;
  sudo mkdir /source&lt;br /&gt;
  sudo chown &amp;lt;your-user-name&amp;gt; /source&lt;br /&gt;
  cd /source&lt;br /&gt;
* Install subversion and checkout the source:&lt;br /&gt;
  sudo apt-get install subversion&lt;br /&gt;
  svn co https://svn.apache.org/repos/asf/incubator/ooo/trunk aoo-trunk&lt;br /&gt;
  cd aoo-trunk/main&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
* Install requirements (this will also install packages that are not listed):&lt;br /&gt;
  sudo apt-get install g++ gcc bison flex libarchive-zip-perl libcups2-dev \&lt;br /&gt;
       libpam0g-dev gperf libfreetype6-dev libxaw7-dev libfontconfig1-dev \&lt;br /&gt;
       libxrandr-dev patch libgconf2-dev libgnomevfs2-dev ant libgtk2.0-dev \&lt;br /&gt;
       junit junit4 libidl-dev liborbit2-dev openjdk-6-jdk libwww-perl \&lt;br /&gt;
       libxml-parser-perl autoconf libssl-dev&lt;br /&gt;
&lt;br /&gt;
* Run autoconf to generate configure script:&lt;br /&gt;
  autoconf&lt;br /&gt;
&lt;br /&gt;
* Configure (see the building guide section on [[Documentation/Building_Guide_AOO#Configuration_and_bootstrapping|configuration]] for further options):&lt;br /&gt;
  ./configure \&lt;br /&gt;
      --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
      --with-epm-url=http://epm.sourcearchive.com/downloads/3.7-1/epm_3.7.orig.tar.gz \&lt;br /&gt;
      --disable-odk \&lt;br /&gt;
      --disable-binfilter&lt;br /&gt;
&lt;br /&gt;
* Finish configuration and download missing tarballs and extensions:&lt;br /&gt;
  ./bootstrap&lt;br /&gt;
&lt;br /&gt;
* Include the configured environment:&lt;br /&gt;
  source LinuxX86-64Env.Set.sh&lt;br /&gt;
&lt;br /&gt;
* Build:&lt;br /&gt;
  cd instsetoo_native/&lt;br /&gt;
  build --all&lt;br /&gt;
This may take a while to complete.  Several hours are not uncommon.  To speed things up you may want to run &amp;#039;build&amp;#039; like this&lt;br /&gt;
  build --all -P&amp;lt;n&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
to start a parallel build.  Replace &amp;lt;n&amp;gt; with the number of CPU cores. &lt;br /&gt;
&lt;br /&gt;
* Install:&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/*.deb&lt;br /&gt;
  sudo dpkg -i unxlngx6.pro/Apache_OpenOffice/deb/install/en-US/DEBS/desktop-integration/openoffice.org3.4-debian-menus_3.4-9593_all.deb&lt;br /&gt;
&lt;br /&gt;
* Start Apache OpenOffice:&lt;br /&gt;
  /opt/openoffice.org3/program/soffice&lt;br /&gt;
&lt;br /&gt;
=Windows 7=&lt;br /&gt;
&lt;br /&gt;
*Install cygwin&lt;br /&gt;
**Browse to http://cygwin.com.&lt;br /&gt;
**Click on the setup.exe link (most recent Cygwin DLL at the moment is 1.7.16-1) to download the installer and run it.&lt;br /&gt;
**Click through the questions.&lt;br /&gt;
**On the &amp;quot;Choose A Download Site&amp;quot; select a nearby download server.&lt;br /&gt;
**Expect a &amp;quot;Setup Alert&amp;quot; dialog box on the first cygwin install on the computer.&lt;br /&gt;
**Click OK to close it.&lt;br /&gt;
**On the page that allows you to select additional packages just select wget (enter wget in the Search box and select the wget enty in the Web/Default section.&lt;br /&gt;
**Click Next to finish package selection.&lt;br /&gt;
**Click Next to resolve dependencies.&lt;br /&gt;
**After installation is finished click the Finish button to close the dialog. &lt;br /&gt;
&lt;br /&gt;
*Start cygwin bash in a terminal&lt;br /&gt;
::One way to do this is:&lt;br /&gt;
::*Press WindowsKey-R&lt;br /&gt;
::*Enter c:\cygwin\Cygwin.bat&lt;br /&gt;
::*Hit Return.&lt;br /&gt;
&lt;br /&gt;
* Install Java.&lt;br /&gt;
::Choose between JDK 1.6 (JDK 1.7 does not work because of hsqldb, 2013-02) or OpenJDK.&lt;br /&gt;
::*If you chose JDK 1.6: Download the current JDK from www.oracle.com/technetwork/java/javase/downloads/index.html.&lt;br /&gt;
::*Download and run the 32-bit Windows version (currently this is jdk-6u35-windows-i586.exe).&lt;br /&gt;
&lt;br /&gt;
* Install Ant&lt;br /&gt;
**Browse to http://ant.apache.org/bindownload.cgi&lt;br /&gt;
**Chose a mirror near you.&lt;br /&gt;
**Download the zip archive (currently that is apache-ant-1.8.4-bin.zip).&lt;br /&gt;
**Open downloaded archive in file explorer and unzip it to a location of your choice, eg &amp;lt;code&amp;gt;c:\&amp;lt;/code&amp;gt;.  Note that &amp;lt;code&amp;gt;C:\Program Files (x86)&amp;lt;/code&amp;gt; will not work due to problems of quoting the spaces and parentheses.&lt;br /&gt;
  &lt;br /&gt;
* Prepare to install missing cygwin packages by installing apt-cyg from googlecode.com&amp;lt;pre&amp;gt;cd to /cygdrive/c/temp&amp;lt;/pre&amp;gt;(or any other temporary directory of your choice)&amp;lt;pre&amp;gt;wget http://apt-cyg.googlecode.com/svn/trunk/apt-cyg&amp;amp;#10;chmod +x apt-cyg&amp;amp;#10;mv apt-cyg /usr/local/bin/&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Use apt-cyg to install missing cygwin packages&amp;lt;pre&amp;gt;apt-cyg install perl zip unzip gperf autoconf rsync gcc4-g++ bison flex patch&amp;lt;/pre&amp;gt;&amp;lt;br /&amp;gt;If you will use git, you need in addition the packages&amp;lt;pre&amp;gt;git git-svn&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Replace symlinked awk with copy of gawk.exe:&amp;lt;pre&amp;gt;rm /usr/bin/awk&amp;amp;#10;mv /usr/bin/gawk.exe /usr/bin/awk.exe&amp;lt;/pre&amp;gt;Note that if the &amp;lt;code&amp;gt;rm&amp;lt;/code&amp;gt; command fails then the &amp;lt;code&amp;gt;mv&amp;lt;/code&amp;gt; is not necessary.&lt;br /&gt;
    &lt;br /&gt;
* Install Visual C++ 2008 Express SP1&lt;br /&gt;
**Browse to http://www.microsoft.com/en-us/download/details.aspx?id=10986&lt;br /&gt;
**Download the vcssetup.exe installer and run it to install Visual C++ Express.  This will download another 400MB during installation.&lt;br /&gt;
**Alternatively download the iso image http://www.microsoft.com/en-us/download/details.aspx?id=20955.  Burn it to a dvd or unzip it.&lt;br /&gt;
&lt;br /&gt;
* Install &amp;lt;del&amp;gt;Windows SDK for Windows Server 2008&amp;lt;/del&amp;gt; Microsoft Windows SDK for Windows 7 and .NET Framework 3.5. SP1 (recommend by Microsoft) &lt;br /&gt;
** &amp;lt;del&amp;gt;Browse to http://www.microsoft.com/en-us/download/details.aspx?id=11310.&amp;lt;/del&amp;gt; Browse to http://www.microsoft.com/en-us/download/details.aspx?id=3138.&lt;br /&gt;
** Download Setup.exe and run the web installer (note that it will be saved as Setup(1).exe to disambiguate from the previously downloaded cygwin installer.)  You can use the default values in the installation dialog.&lt;br /&gt;
** Alternatively download the iso image http://www.microsoft.com/en-us/download/details.aspx?id=18950. Burn it to a dvd or unzip it.&lt;br /&gt;
&lt;br /&gt;
* Download MS Visual C++ 2008 SP1 Redistributable Package (x86)&lt;br /&gt;
**&amp;lt;del&amp;gt;Browse to http://www.microsoft.com/en-us/download/details.aspx?id=5582&amp;lt;/del&amp;gt; http://www.microsoft.com/en-us/download/details.aspx?id=26368 ( There have been security updates, which are not included in older versions.)&lt;br /&gt;
**Download files vcredist_x86.exe and vcrestist_x64.exe&amp;lt;br /&amp;gt;  If you download the most actual version of Apache OpenOffice and unpack it, you will find the files vcredist_x86.exe and vcredist_x64.exe in folder redist. You can use them as well.&lt;br /&gt;
&lt;br /&gt;
* Optional: Install DirectX SDK (for graphics hardware support in the slide show)&lt;br /&gt;
** Browse to http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=6812&lt;br /&gt;
** Download and run DXSDK_Jun10.exe&lt;br /&gt;
&lt;br /&gt;
* Optional: Install NSIS installer (for creating the EXE installer)&lt;br /&gt;
** Browse to http://nsis.sourceforge.net&lt;br /&gt;
** Download and run the installer.&lt;br /&gt;
&lt;br /&gt;
* Get AOO source code. You can use the source release or check out from SVN. Build from source release if you want to build OpenOffice once but don&amp;#039;t want to contribute patches. If you will contribute patches, you need to generate them against an actual version of trunk. In this case check out from SVN to be able to rebase before generating patches. You can work with subversion or with git-svn.&lt;br /&gt;
&lt;br /&gt;
::; Source release : &lt;br /&gt;
::* Browse to http://www.openoffice.org/download/other.html#tested-sdk and locate the table row that starts with &amp;quot;Source code&amp;quot;&lt;br /&gt;
::* Download source code in an archive format of your choice (note that tar.bz2 is typically smaller than tar.gz and zip)&lt;br /&gt;
::* Optional: Verify the archive&lt;br /&gt;
::** Browse to http://www.openoffice.org/download/checksums/3.4.1_checksums.html#checksums-sdk&lt;br /&gt;
::** Click on the &amp;quot;Source code&amp;quot; link or navigate manually to the &amp;quot;Source code&amp;quot; section.&lt;br /&gt;
::** Follow instructions for verifying your archive.&lt;br /&gt;
::* Unpack source (in cygwin-terminal). Use the file name exactly as downloaded.&amp;lt;pre&amp;gt;cd /tmp&amp;amp;#10;tar -xjf &amp;lt;download-location&amp;gt;/aoo-3.4.1-incubating-src.tar.bz2&amp;amp;#10;cd aoo-3.4.1/main&amp;amp;#10;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using subversion :&lt;br /&gt;
::*Get subversion (only first time)&amp;lt;pre&amp;gt;apt-cyg install subversion&amp;lt;/pre&amp;gt; &lt;br /&gt;
::*Start with creating a parent directory for the source code: &amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo-trunk&amp;amp;#10;cd aoo-trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::; Checkout from SVN using git-svn :&lt;br /&gt;
::*Get git and git-svn (only first time)&amp;lt;pre&amp;gt;apt-cyg install git git-svn&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Get the actual revision number from http://svn.apache.org/viewvc/OpenOffice/trunk/, e.g. 1234567&lt;br /&gt;
::*Create an empty directory and change to it, e.g.&amp;lt;pre&amp;gt;mkdir /cygdrive/c/source&amp;amp;#10;cd /cygdrive/c/source&amp;lt;/pre&amp;gt;&lt;br /&gt;
::*Check out source from Apache SVN repository&amp;lt;pre&amp;gt;git svn clone --revision 1234567:HEAD https://svn.apache.org/repos/asf/openoffice/trunk&amp;amp;#10;cd trunk/main&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Remember the source path:&amp;lt;pre&amp;gt;SourceMain=`pwd`&amp;lt;/pre&amp;gt; [Why? I have not used it. [[User:Regina|Regina]] ([[User talk:Regina|talk]]) 21:42, 24 February 2013 (UTC)]&lt;br /&gt;
&lt;br /&gt;
* Optional: Get dbghelp.dll (for using the &amp;lt;code&amp;gt;--enable-dbgutil&amp;lt;/code&amp;gt; configure option)&lt;br /&gt;
** This dll is part of MS Visual Studio.&lt;br /&gt;
** Copy file to &amp;lt;code&amp;gt;main/external/dbghelp&amp;lt;/code&amp;gt;. Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/dbghelp.dll $SourceMain/external/dbghelp&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Copy vcredist_x86.exe and vcredist_x64.exe (see above) to main/external/vcredist.&lt;br /&gt;
** Use Windows file manager or in cygwin terminal&amp;lt;pre&amp;gt;cp &amp;lt;download-location&amp;gt;/vcredist_x86.exe $SourceMain/external/vcredist&amp;amp;#10;cp &amp;lt;download-location&amp;gt;/vcredist_x64.exe $SourceMain/external/vcredist&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get GDI+ redistributable.&lt;br /&gt;
**Browse to http://www.microsoft.com/en-us/download/details.aspx?id=18909&lt;br /&gt;
**Download WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Run WindowsXP-KB975337-x86-ENU.exe&lt;br /&gt;
**Enter a temporary path (eg c:\temp\gdiplus) in the dialog and click OK to extract files&lt;br /&gt;
**Copy gdiplus.dll to main/external&amp;lt;pre&amp;gt;cp /cygdrive/c/temp/gdiplus/asms/10/msft/windows/gdiplus/gdiplus.dll $SourceMain/external/gdiplus/&amp;lt;/pre&amp;gt;&lt;br /&gt;
** Remove the temporary path&amp;lt;pre&amp;gt;cp -fr /cygdrive/c/temp/gdiplus&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Get msvcr100.dll:&amp;lt;pre&amp;gt;cp /c/Windows/System32/msvcr100.dll $SourceMain/external/msvcp100&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Make sure that you are in the main source directory:&amp;lt;pre&amp;gt;cd $SourceMain&amp;lt;/pre&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
* Run autoconf to create the configure script:&amp;lt;pre&amp;gt;autoconf&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Call configure&lt;br /&gt;
** Run configure (adapt paths as necessary)&amp;lt;pre&amp;gt;MSVC_HOME=&amp;quot;/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0&amp;quot;&amp;amp;#10;SDK_PATH=&amp;quot;/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1&amp;quot;&amp;amp;#10;./configure \&amp;amp;#10;    --with-cl-home=&amp;quot;$MSVC_HOME/VC&amp;quot; \&amp;amp;#10;    --with-mspdb-path=&amp;quot;$MSVC_HOME/Common7/IDE&amp;quot; \&amp;amp;#10;    --with-asm-home=&amp;quot;$MSVC_HOME/Bin&amp;quot; \&amp;amp;#10;    --with-csc-path=&amp;quot;$MSVC_HOME/SDK/v3.5&amp;quot; \&amp;amp;#10;    --with-frame-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-psdk-home=&amp;quot;$SDK_PATH&amp;quot; \&amp;amp;#10;    --with-midl-path=&amp;quot;$SDK_PATH/bin&amp;quot; \&amp;amp;#10;    --with-directx-home=&amp;quot;C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)&amp;quot; \&amp;amp;#10;    --with-jdk-home=&amp;quot;/cygdrive/c/Program Files (x86)/Java/jdk1.6.0_35&amp;quot; \&amp;amp;#10;    --with-ant-home=&amp;quot;/cygdrive/c/apache-ant-1.8.4&amp;quot; \&amp;amp;#10;    --with-dmake-url=&amp;quot;http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2&amp;quot; \&amp;amp;#10;    --with-epm-url=http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz \&amp;amp;#10;    --enable-pch \&amp;amp;#10;    --disable-atl \&amp;amp;#10;    --disable-activex \&amp;amp;#10;    --disable-binfilter \&amp;amp;#10;    --without-junit&amp;lt;/pre&amp;gt;If you have not installed the optional DirectX SDK then remove the &amp;lt;code&amp;gt;--with-directx-home switch&amp;lt;/code&amp;gt;&lt;br /&gt;
*Finish configuration and download missing external source tarballs and extensions&amp;lt;pre&amp;gt;./bootstrap&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Include the configured environment&amp;lt;pre&amp;gt;source winenv.set.sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Build&amp;lt;pre&amp;gt;cd instsetoo_native/&amp;amp;#10;build --all&amp;lt;/pre&amp;gt;Depending on your computer this will take one or more hours to finish.&lt;br /&gt;
&lt;br /&gt;
* Install&amp;lt;br/&amp;gt;There are three options:&lt;br /&gt;
*# Regular install with integration into Windows.&amp;lt;br/&amp;gt;This allows only one instance of AOO to be installed.&lt;br /&gt;
*#* Start setup.exe and click through dialog:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Apache OpenOffice can be started via the Windows start menu.&lt;br /&gt;
*# Install without integration into Windows.&amp;lt;br/&amp;gt;This allows several instance of AOO, based on the same version, to be installed side by side.&amp;lt;br/&amp;gt;It still requires Administrator permissions.&lt;br /&gt;
*#* Start &amp;lt;code&amp;gt;setup.exe&amp;lt;/code&amp;gt; with option &amp;lt;code&amp;gt;-a&amp;lt;/code&amp;gt;:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;$SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/msi/install/en-US/setup.exe -a&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Enter an installation path into the dialog and click through the dialog to finish installation.&lt;br /&gt;
*#* Start AOO by running&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;installation-path&amp;gt;/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
*# Unpack archive without installation.&amp;lt;br/&amp;gt;This does not require Administrator permissions&lt;br /&gt;
*#* Go to installation directory:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;cd &amp;lt;installation-target&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Unzip archive:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;unzip $SourceMain/instsetoo_native/wntmsci12.pro/OpenOffice/archive/install/en-US/Apache_OpenOffice_incubating_3.5.0_Win_x86_install-arc_en-US.zip&amp;lt;/pre&amp;gt;&lt;br /&gt;
*#* Start AOO by running:&amp;lt;br/&amp;gt;&amp;lt;pre&amp;gt;./Apache_OpenOffice_incubating_3.5.0_Win_x86_install-arc_en-US/program/soffice.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Documentation]][[Category:Development]][[Category:Porting]]&lt;/div&gt;</summary>
		<author><name>AlbinoNeto</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO&amp;diff=213669</id>
		<title>Documentation/Building Guide AOO</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=Documentation/Building_Guide_AOO&amp;diff=213669"/>
		<updated>2013-01-06T17:52:59Z</updated>

		<summary type="html">&lt;p&gt;AlbinoNeto: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{DISPLAYTITLE:Apache OpenOffice Building Guide}}&lt;br /&gt;
&lt;br /&gt;
= Preface =&lt;br /&gt;
This guide will help you to build Apache OpenOffice from its source code.  It details the prerequisites and explains how to download the source code, prepare and then run the build.&lt;br /&gt;
&lt;br /&gt;
Here is the short version for the brave and impatient:&lt;br /&gt;
*Download the source:  &amp;lt;code&amp;gt;svn co https://svn.apache.org/repos/asf/openoffice/trunk ooo&amp;lt;/code&amp;gt;&lt;br /&gt;
*Configure: &amp;lt;code&amp;gt;cd main/ ; autoconf ; ./configure &amp;lt;some-switches&amp;gt; ; ./bootstrap&amp;lt;/code&amp;gt;&lt;br /&gt;
*Build: &amp;lt;code&amp;gt;source &amp;lt;platform-dependend-name&amp;gt;.sh ; cd instsetoo_native ; build --all&amp;lt;/code&amp;gt;&lt;br /&gt;
*Wait for an hour or more (here you have to be patient)&lt;br /&gt;
*Install office&lt;br /&gt;
*Enjoy&lt;br /&gt;
&lt;br /&gt;
Operating system specific step-by-step instructions can be found [[Documentation/Building_Guide_AOO/Step_by_step|here]].  The detailed description below gives a broader introduction into the build process and explains for the various steps.&lt;br /&gt;
 &lt;br /&gt;
==Status==&lt;br /&gt;
This document is loosely based on an older [[Documentation/Building Guide|version]].  I have tried to avoid duplication and to move anything that all platforms have in common to this page.  Many details have been removed on purpose because they refer to older version of OpenOffice.  However, there are still some things not explained in the necessary detail on this page:&lt;br /&gt;
* How to use mozilla and nss.&lt;br /&gt;
* How to use ccache&lt;br /&gt;
&lt;br /&gt;
{{Documentation/SeeAlso|*[[How_to_build_Symphony%27s_source_code]] }}&lt;br /&gt;
&lt;br /&gt;
= Getting help =&lt;br /&gt;
You can get help by searching this wiki or by asking questions on the [http://openoffice.apache.org/mailing-lists.html#development-mailing-list-public developers mailing list].&lt;br /&gt;
&lt;br /&gt;
You can help us improve this guide by pointing out any errors (preferably after finding a solution).&lt;br /&gt;
Or don&amp;#039;t be shy and edit (and improve) these pages yourself.&lt;br /&gt;
&lt;br /&gt;
= Basics =&lt;br /&gt;
&lt;br /&gt;
In order to build Apache OpenOffice you need a proper environment.  This includes&lt;br /&gt;
* a command line interpreter, typically bourne shell compatible (sh or bash) inside a terminal. On Windows you will need to install Cygwin to provide it.&lt;br /&gt;
* C++ compiler and linker.  The exact choice depends on the operating system.&lt;br /&gt;
* Perl interpreter and several modules.&lt;br /&gt;
* Many tools from the Unix world like make or sed.&lt;br /&gt;
&lt;br /&gt;
See section [[#General_Build_Requirements | General Build Requirements]]&lt;br /&gt;
for an exact list of requirements.&lt;br /&gt;
&lt;br /&gt;
= Getting the source =&lt;br /&gt;
&lt;br /&gt;
The source code is available as SVN repository at https://svn.apache.org/repos/asf/openoffice&lt;br /&gt;
&lt;br /&gt;
Check it out with&lt;br /&gt;
&lt;br /&gt;
   svn co https://svn.apache.org/repos/asf/openoffice/trunk aoo&lt;br /&gt;
&lt;br /&gt;
More details about how to check out source code from SVN can be found [http://openoffice.apache.org/source.html here].&lt;br /&gt;
&lt;br /&gt;
The checked out files take up somewhat over 5GB on disk (more than 150000 files in more than 7000 folders and the SVN overhead). &lt;br /&gt;
&lt;br /&gt;
After building this becomes (on Windows7) almost 17GB (more than 406000 files in more than 23000 folders).&lt;br /&gt;
&lt;br /&gt;
= Organization of the source and output tree =&lt;br /&gt;
&lt;br /&gt;
The source code has five top level directories:&lt;br /&gt;
;main/:contains most of the so called modules.  Each module typically provides one or more libraries.  The source code of the writer application for example can be found in main/sd/.&lt;br /&gt;
;test/:contains the new [[QA/test_automation_guide | automated testing framework]]&lt;br /&gt;
;ext_libraries/:is the new home of modules that build external libraries (libraries maintained outside of Apache OpenOffice and often outside Apache).&lt;br /&gt;
;ext_sources/:contains the tar balls (archives) of external libraries.  They are included both for convenience and to make sure that specific versions remain available.  Note that the source package of the Apache OpenOffice release does not contain any external tar balls. &lt;br /&gt;
;extras/:holds the localization data.&lt;br /&gt;
&lt;br /&gt;
Most tools and scripts that are used for building are located below &amp;lt;code&amp;gt;main/solenv/&amp;lt;/code&amp;gt;:&lt;br /&gt;
*dmake makefiles in &amp;lt;code&amp;gt;main/solenv/inc/&amp;lt;/code&amp;gt;&lt;br /&gt;
*gmake makefiles in &amp;lt;code&amp;gt;main/solenv/gbuild/&amp;lt;/code&amp;gt;&lt;br /&gt;
*executables and perl files in &amp;lt;code&amp;gt;main/solenv/bin/&amp;lt;/code&amp;gt;&lt;br /&gt;
*perl modules in &amp;lt;code&amp;gt;main/bin/modules/&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Libraries and other output files that are shared between modules are stored in &amp;lt;code&amp;gt;main/solver/&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=Building=&lt;br /&gt;
&lt;br /&gt;
==Overview==&lt;br /&gt;
&lt;br /&gt;
Building Apache OpenOffice consists of three steps:&lt;br /&gt;
;Configuring/bootstrapping:Detect platform, operating system, compiler, etc. and write the information into a shell script for later use.  The developer can turn on or off certain features in this phase.&lt;br /&gt;
;Building:Compile the source code, transform other input files, apply localization.&lt;br /&gt;
;Packing:Create a set of files, the installation set, that can be installed on the respective operating system.  This can be msi/cab files for windows, deb or rpm for Linux, dmg for Mac.&lt;br /&gt;
&lt;br /&gt;
The configure step has to be carried out only once.  Building and packing is necessary after every source code change.  There are short cuts to avoid parts of these steps (when you know what you are doing.)&lt;br /&gt;
&lt;br /&gt;
== General Build Requirements ==&lt;br /&gt;
&lt;br /&gt;
The general requirements for all platforms are&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Requirement&lt;br /&gt;
! Description&lt;br /&gt;
! How to install&lt;br /&gt;
|-&lt;br /&gt;
| Java JDK&lt;br /&gt;
| Java Implementation compatible with [http://java.sun.com/j2se/1.5/ JDK 1.5] or [http://java.sun.com/javase/6/ JDK 1.6]. [http://openjdk.java.net/ OpenJDK] is supported as well.&lt;br /&gt;
| --with-jdk-home=&lt;br /&gt;
|-&lt;br /&gt;
| Perl&lt;br /&gt;
| Perl 5. Also required are the perl packages&lt;br /&gt;
    Archive::Zip&lt;br /&gt;
    LWP::UserAgent&lt;br /&gt;
    XML::Parser&lt;br /&gt;
They can be installed from the shell with (you may have to run it with super user/administrator rights)&lt;br /&gt;
    perl -MCPAN -e shell&lt;br /&gt;
If it is executed for the first time then CPAN will ask for configuration. Choose autoconfiguration.&lt;br /&gt;
Eventually the CPAN shell appeares accepts commands.  Install missing modules with &lt;br /&gt;
    install &amp;lt;module-name&amp;gt;&lt;br /&gt;
Find more details [http://wiki.services.openoffice.org/wiki/CPAN_install here].&amp;lt;sup&amp;gt;6&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| CUPS&lt;br /&gt;
| cups headers. Provided by a cups-devel package or a libcups2-devel&lt;br /&gt;
|-&lt;br /&gt;
| PAM&lt;br /&gt;
| PAM support. Provided by a pam-devel package or a libpam-dev&lt;br /&gt;
|-&lt;br /&gt;
| Apache Ant&lt;br /&gt;
| [http://ant.apache.org/ Ant 1.7 or later]&lt;br /&gt;
| --with-ant-home=&lt;br /&gt;
|-&lt;br /&gt;
| Archiver&lt;br /&gt;
| zip and unzip&lt;br /&gt;
|-&lt;br /&gt;
| gperf&lt;br /&gt;
| [http://www.gnu.org/software/gperf/gperf.html gperf] tool&lt;br /&gt;
|-&lt;br /&gt;
| Mozilla&amp;lt;sup&amp;gt;1&amp;lt;/sup&amp;gt;&lt;br /&gt;
| Some Mozilla libraries are needed. Choose one of the following:&lt;br /&gt;
* Get the source from [http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.5/source/ here].&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;&lt;br /&gt;
* Get prebuild libraries from [http://tools.openoffice.org/moz_prebuild/680/ here].&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| NSS&amp;lt;sup&amp;gt;4&amp;lt;/sup&amp;gt;&lt;br /&gt;
| Mozilla build tools&amp;lt;sup&amp;gt;5&amp;lt;/sup&amp;gt; are needed for Windows. They can be obtained [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.3.exe here].&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Notes:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# If you are a new developer, don&amp;#039;t use the libraries. By using the &amp;lt;tt&amp;gt;--disable-mozilla&amp;lt;/tt&amp;gt; switch for ./configure you waive the extra functionality.&lt;br /&gt;
# Copy the package into &amp;lt;tt&amp;gt;main/moz/download&amp;lt;/tt&amp;gt;. The ./configure script will detect the source being present.&lt;br /&gt;
# You have to configure with --disable-build-mozilla to enable the use of the prebuild libraries. Place LINUXGCCI{inc,lib,runtime}.zip into &amp;lt;tt&amp;gt;main/moz/zipped&amp;lt;/tt&amp;gt;. The files can be reused if the packages were build following the instructions of the previous point. In the latter case they can be found in main/moz/unxlngi6.pro of a successful build.&lt;br /&gt;
# The nss module will be introduced in DEV300m57. nss contains a subset of libraries from Mozilla (the moz module). They are supposed to be more current then those in the moz module. To prevent building nss and instead use the libraries from the moz module one can use the configure switch &amp;lt;tt&amp;gt;--disable-nss-module&amp;lt;/tt&amp;gt;. &amp;#039;&amp;#039;&amp;#039;This switch will be removed soon!&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
# Use the configure switch &amp;lt;tt&amp;gt;--with-mozilla-build&amp;lt;/tt&amp;gt; to tell configure where the tools are installed. For example: &amp;lt;tt&amp;gt;--with-mozilla-build=c:/mozilla-build&amp;lt;/tt&amp;gt;&lt;br /&gt;
# Please note that CPAN is not able to deal with usernames containing spaces. To work around this fact, when CPAN asks you to specify the CPAN build and cache directory, change the default suggestion to /cpan.&lt;br /&gt;
&lt;br /&gt;
See also the platform specific requirements for&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_Windows|Windows]]&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_Linux|Linux]]&lt;br /&gt;
*[[Documentation/Building_Guide_AOO/Building_on_MacOsX|MacOSX]]&lt;br /&gt;
&lt;br /&gt;
==Configuration and bootstrapping==&lt;br /&gt;
This is typically done only once after the source code is checked out.  Repeat this after changing your mind about options given to configure.&lt;br /&gt;
&lt;br /&gt;
The call to&lt;br /&gt;
   autoconf&lt;br /&gt;
creates the main/configure script from main/configure.in and some other input files.&lt;br /&gt;
&lt;br /&gt;
The set of options/switches given to configure depends on the platform and your choice of features.  A typical call starts like this&lt;br /&gt;
    configure                                                                                   \&lt;br /&gt;
        --with-dmake-url=http://dmake.apache-extras.org.codespot.com/files/dmake-4.12.tar.bz2 \&lt;br /&gt;
        --with-epm-url=http://ftp.easysw.com/pub/epm/3.7/epm-3.7-source.tar.gz                \&lt;br /&gt;
It tells configure where to find the source code of external tools dmake and epm.&lt;br /&gt;
&lt;br /&gt;
By default only source code under [http://www.apache.org/legal/3party.html#category-a category A] licenses is compiled and included.  Besides the Apache License 2.0 this includes for example BSD and MIT/X11 license.  If you want to enable features that rely on third party code under [http://www.apache.org/legal/3party.html#category-b category B] licenses (like MPL, CPL, EPL, etc) then add the option&lt;br /&gt;
        --enable-category-b&lt;br /&gt;
&lt;br /&gt;
For inclusion of externaly hosted dictionary extensions add option&lt;br /&gt;
        --enable-bundled-dictionaries&lt;br /&gt;
Note that&lt;br /&gt;
* some of the dictionaries are under (L)GPL license and are therefore&lt;br /&gt;
* bundled without modification.  They are not compiled.&lt;br /&gt;
* Dictionaries rely on a category B third party library (hunspell).  Therefore &amp;lt;code&amp;gt;--enable-category-b&amp;lt;/code&amp;gt; is a prerequiste for &amp;lt;code&amp;gt;--enable-bundled-dictionaries&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
You can run the rat scan while building with option&lt;br /&gt;
         --with-rat-scan&lt;br /&gt;
[[Documentation/Building_Guide_AOO/Rat_Scan|Here]] you can find details.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finish this step by running&lt;br /&gt;
    ./bootstrap&lt;br /&gt;
This will build dmake and epm, download missing source code tar balls of external libraries, and download missing external dictionary extensions.&lt;br /&gt;
&lt;br /&gt;
==Building==&lt;br /&gt;
Start by including the environment variables prepared by configure into your current environment with&lt;br /&gt;
   source &amp;lt;shell-script-name&amp;gt;&lt;br /&gt;
where &amp;lt;shell-script-name&amp;gt; depends on your platform:&lt;br /&gt;
{| class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!platform id&lt;br /&gt;
!&amp;lt;shell-script-name&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| wntmsci12&lt;br /&gt;
| winenv.set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxlngi6&lt;br /&gt;
| LinuxX86Env.Set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxlngx6&lt;br /&gt;
| LinuxX86-64Env.Set.sh&lt;br /&gt;
|-&lt;br /&gt;
| unxmacxi&lt;br /&gt;
| MacOSXX86Env.Set.sh&lt;br /&gt;
|}&lt;br /&gt;
Look into main/set_soenv for more platforms. (search for lines &amp;lt;code&amp;gt;$OUTPATH = &amp;quot;&amp;lt;platform&amp;gt;&amp;quot;;&amp;lt;/code&amp;gt; and the nearby line &amp;lt;code&amp;gt;$outfile = &amp;quot;&amp;lt;shell-script-name&amp;gt;&amp;quot;;&amp;lt;/code&amp;gt;.  Add the suffix &amp;lt;code&amp;gt;.sh&amp;lt;/code&amp;gt; for the bash variant.&lt;br /&gt;
&lt;br /&gt;
If you want to build the whole office and the install sets then&lt;br /&gt;
    cd main/instsetoo_native&lt;br /&gt;
    build --all&lt;br /&gt;
You may want to experiment with the -P options for multi process builds to reduce the build time.&lt;br /&gt;
    build --all -P&amp;lt;m&amp;gt; -- -P&amp;lt;n&amp;gt;&lt;br /&gt;
tells build to use &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; processes (build up to &amp;lt;code&amp;gt;m&amp;lt;/code&amp;gt; modules in parallel) and &amp;lt;code&amp;gt;n&amp;lt;/code&amp;gt; threads for each module.&lt;br /&gt;
&lt;br /&gt;
==Partial Builds==&lt;br /&gt;
&lt;br /&gt;
Building the whole office takes a lot of time.  Therefore it may be preferable to build only parts after making changes to the source code.&lt;br /&gt;
There are two different types of partial builds:&lt;br /&gt;
;Compatible:Can be used only when the code changes do not change exported interfaces. Use with care and only when you know what you are doing.&lt;br /&gt;
;Incompatible:Use for code changes that modify exported C++ or IDL interfaces, that modify resources that are used by other modules, or when you are not sure.&lt;br /&gt;
&lt;br /&gt;
For the following sections you should be aware that Apache OpenOffice uses two different make systems to build its modules.&lt;br /&gt;
*The older one is based on dmake&lt;br /&gt;
*The other and newer one is based on GNU make.  This system is often referred to as gbuild.&lt;br /&gt;
When a module contains, among others, a Makefile and a Module_&amp;lt;module&amp;gt;.mk file then it is a gbuild module.&lt;br /&gt;
&lt;br /&gt;
===Compatible Build===&lt;br /&gt;
&lt;br /&gt;
After changing code in module &amp;lt;module&amp;gt; which does not change any exported interfaces do&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|  &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build&lt;br /&gt;
    deliver&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr&lt;br /&gt;
No explicit call to &amp;lt;code&amp;gt;deliver&amp;lt;/code&amp;gt; is necessary for gbuild modules.&lt;br /&gt;
|}&lt;br /&gt;
to compile and deliver the resulting libraries to &amp;lt;code&amp;gt;main/solver/&amp;lt;/code&amp;gt;.  You may want to erase the output of a previous compilation:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|  &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build --from &amp;lt;module&amp;gt; --prepare&lt;br /&gt;
or faster (but without the un-deliver)&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    rm -fr &amp;lt;platform&amp;gt;/&lt;br /&gt;
| &lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make clean&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Incompatible Build===&lt;br /&gt;
&lt;br /&gt;
Modifications that change exported interfaces require not only the module to be rebuild that contains the modified code.  All depending modules (dependencies are defined in &amp;lt;code&amp;gt;&amp;lt;module&amp;gt;/prj/build.lst&amp;lt;/code&amp;gt;) have to be rebuild as well.  This is best done from &amp;lt;code&amp;gt;main/instsetoo_native/&amp;lt;/code&amp;gt;:&lt;br /&gt;
  cd main/instsetoo_native/&lt;br /&gt;
  build --from &amp;lt;incompatible-module&amp;gt; --prepare&lt;br /&gt;
  build --from &amp;lt;incompatible-module&amp;gt;&lt;br /&gt;
The second line removes the output of all modules that have to be recompiled. The drawback of this command is that the output of modules which are build via gbuild are not removed. Thus, the following additional command performed after the second one will do the trick:&lt;br /&gt;
  build --from &amp;lt;incompatible-module&amp;gt; --job=&amp;quot;make clean; make clean debug=t&amp;quot; --ignore&lt;br /&gt;
&lt;br /&gt;
===Frequently used options===&lt;br /&gt;
&lt;br /&gt;
In order to add debug information to libraries and executables, add the &amp;lt;code&amp;gt;debug&amp;lt;/code&amp;gt; switch to any &amp;lt;code&amp;gt;build&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; command:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build debug=t&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr debug=t&lt;br /&gt;
|}&lt;br /&gt;
Remember that for the gbuild system you have to used the debug flag also when cleaning a module (otherwise eg the wrong precompiled headers are deleted and are not rebuilt):&lt;br /&gt;
    make clean debug=t&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You can force make to rebuild dependency information by first deleting it with the depend option.  It is rebuild automatically with the next build:&lt;br /&gt;
{|class=&amp;quot;prettytable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!dmake&lt;br /&gt;
!gbuild&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    build depend=t&lt;br /&gt;
    build&lt;br /&gt;
|&lt;br /&gt;
    cd &amp;lt;module&amp;gt;&lt;br /&gt;
    make -sr depend=t&lt;br /&gt;
    make -sr&lt;br /&gt;
|}&lt;br /&gt;
[[Category:Documentation]][[Category:Development]][[Category:Porting]]&lt;/div&gt;</summary>
		<author><name>AlbinoNeto</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=User:AlbinoNeto&amp;diff=213668</id>
		<title>User:AlbinoNeto</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=User:AlbinoNeto&amp;diff=213668"/>
		<updated>2013-01-06T17:51:07Z</updated>

		<summary type="html">&lt;p&gt;AlbinoNeto: /* Where do I work */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Albino Biasutti Neto =&lt;br /&gt;
&lt;br /&gt;
== Where do I live ==&lt;br /&gt;
&lt;br /&gt;
[http://pt.wikipedia.org/wiki/Vila_Velha_(Esp%C3%ADrito_Santo) Vila Velha - Espírito Santo - Brazil]&lt;br /&gt;
&lt;br /&gt;
== Where do I work ==&lt;br /&gt;
&lt;br /&gt;
[http://blog.albino.ws Blog]&lt;br /&gt;
&lt;br /&gt;
== Where do I contribute ==&lt;br /&gt;
&lt;br /&gt;
* [[PT-BR|Brazilian community]]&lt;br /&gt;
* [[User_Experience|UX Team]]&lt;br /&gt;
* [[Documentation|Documentation]]&lt;/div&gt;</summary>
		<author><name>AlbinoNeto</name></author>
	</entry>
</feed>