...
Code Block |
---|
--with-cl-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/VC" \ --with-mspdb-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE" \ --with-frame-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" \ --with-psdk-home="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1" \ --with-midl-path="/cygdrive/c/Program Files/Microsoft SDKs/Windows/v6.1/Bin" \ --with-asm-home="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0" \ --with-jdk-home="/cygdrive/c/Program Files (x86)/Java/jdk1.6.0_27" \ --with-csc-path="/cygdrive/c/Program Files (x86)/Microsoft Visual Studio 9.0/SDK/v3.5" \ --with-ant-home="/cygdrive/c/AOO/ant" \ --with-dmake-path=c:/AOO/sources/devtools/dmake.exe \ --with-external-tar=c:/AOO/sources/ext_sources \ --without-junit \ --enable-pch \ --disable-directx \ --disable-atl --disable-activex \ --disable-binfilter \ --enable-category-b \ --disable-build-mozilla \ --with-mozilla-build=c:/mozilla-build \ --with-lang="en-US de fr it es ja pt-BR zh-CN nl" \ --with-vendor="orw at apache.org" |
Linux
I (arielchAriel Constenla-Haile) build on a default installation of Ubuntu 10.04.3 LTS (Lucid Lynx) live-cd image (http://mirror.switch.ch/ftp/mirror/ubuntu-cdimage/lucid/) with the following switches:
Code Block |
---|
./configure \ --with-packager-list=/mnt/build/aoo/aoo-dev-pack.lst \ --with-build-version="$(date +"%Y-%m-%d %H:%M:%S (%a, %d %b %Y)") - Rev. $(echo $(git svn info) | sed -e 's/^.*Last Changed Rev: //g' -e 's/ .*//g')" \ --enable-verbose \ --enable-category-b \ --disable-build-mozilla \ --enable-minimizer \ --enable-presenter-console \ --enable-wiki-publisher \ --enable-opengl \ --enable-dbus \ --enable-gstreamer \ --with-package-format="rpm deb" \ --with-lang="de es fr it ja pt-BR zh-CN nl" \ --with-dmake-path=$HOME/src/dmake/INST/bin/dmake \ --with-epm=$HOME/src/epm-3.7/INST/bin/epm \ --with-mingwin=i586-mingw32msvc-c++ \ |
To speed up the building process I use prebuild mozilla (built by myself on the same environment). I also use the following patch to speed up packaging in instsetoo_native:
...
The switch --with-packager-list points to the following packaging list.
Finally I build with:
Code Block |
---|
build --html --all -P8 -- -P4 |
...