User:Matm

From The Document Foundation Wiki
Jump to: navigation, search

Configure

Settings for autogen.sh

  • --disable-directx
  • --disable-binfilter --without-junit (because it is not mandatory and a pain under Win platform)
  • --disable-build-mozilla --with-mozilla-build=/cygdrive/c/data/mozillabuild
  • --with-ant-home=/ant
  • --disable-odk
  • --with-windows-sdk-home="/cygdrive/C/Program Files/Microsoft SDKs/Windows/v7.1"


--disable-directx --disable-binfilter --without-junit --disable-build-mozilla --with-mozilla-build=/cygdrive/c/data/mozilla-build --with-ant-home=/ant --disable-odk --with-windows-sdk-home="/cygdrive/C/Program Files/Microsoft SDKs/Windows/v7.1"

make fetch

  • make fetch uses XP version of GDIPLUS. This leads to unexpected output folder. Copy the dll by yourself after unpacking.
  • VCRedist need to be manually copied (express ?)

Pre-build tasks

Fix ATL

at the end of autogen, edit Env.host.sh to fix atl issue Development/ Development/BuildingOnWindows#atl.2C_activex Get your Windows Driver Kit Version 7.1.0 path. Set it in the first var WDDK as UNIX format

WDDK="C:/data/WinDDK/7600.16385.1"
ATL_LIB="$WDDK/lib/ATL/i386"
ATL_INCLUDE="$WDDK/inc/atl71"
MFC_LIB="$WDDK/lib/Mfc/i386"
MFC_INCLUDE="$WDDK/inc/mfc42"

Build process

  • autogen.sh (perl) => autogen.lastrun
    • aclocal => aclocal.m4 <= configure.in
    • autoconf + pkg-config <= configure.in => configure
    • configure

Easy Hacks

  • oowintool : on an x64 machine, prefer SDK in x64 program files rather than x86. Already done by choosing program files and default registry.
  • configure : configure --help parse next args to specify argument
  • makefiles: replace $JAVA_HOME/bin/java with $JAVAINTERPRETER and $JAVA_HOME/bin/javac with $JAVACOMPILER
  • MSVS warnings for new[] and delete[]: /libvisio/wntmsci13.pro/misc/build/libvisio-0.0.7/src/lib/VSDXStyles.cpp => C:/Program Files (x86)/MICROS~2.0/VC/include\crtdbg.h(1041) : warning C4986: 'operator new []': exception specification does not match previous declaration C:/Program Files (x86)/MICROS~2.0/VC/include\new(79) : see declaration of 'operator new[]'


Workflows

TODO: Do that so it will be finished


Work In Progress by MatM (talk) 2013-05-08T22:55:06 (UTC) : Lots to do right now