Difference between revisions of "MacOSX Debug OpenOffice.org using XCode"
From Apache OpenOffice Wiki
Line 1: | Line 1: | ||
− | + | Pre conditions : a complete Aqua build see [[AquaBuild]] | |
+ | |||
+ | === Prepare libvcl === | ||
+ | [FIXME] | ||
+ | <pre> | ||
+ | commit http://eric.bachard.free.fr/patches/aqua/fix_libsalsystools/i69373.diff.txt | ||
+ | until this patched to be commited, rebuild sal using it/ | ||
+ | </pre> | ||
+ | |||
+ | rebuild vcl using debug="not_empty_string" | ||
+ | |||
+ | then do : | ||
+ | <pre> | ||
+ | cd vcl | ||
+ | touch aqua/source/gdi/salbpm.cxx | ||
+ | build | ||
+ | </pre> | ||
+ | |||
+ | Use Pavel's. script be sure you can use aqua double clicking on the bundle | ||
+ | |||
+ | Supposing the AquaBuild sources are located in ~/SRC680_m195 ( adapt to your tree ) , do : | ||
+ | cd <install_dir>/Openoffice.org\ 2.1.app/Contents/program | ||
+ | |||
+ | rm -f libvcl* | ||
+ | |||
+ | ln -s <AquaBuild_dir>/vcl/unxmacxi.pro/lib/libvcl* . | ||
+ | |||
+ | === Start Xcode === | ||
+ | |||
+ | Create a new project | ||
+ | |||
+ | e.g. aquavcl_debug in home dir | ||
+ | |||
+ | |||
Revision as of 18:15, 2 December 2006
Pre conditions : a complete Aqua build see AquaBuild
Prepare libvcl
[FIXME]
commit http://eric.bachard.free.fr/patches/aqua/fix_libsalsystools/i69373.diff.txt until this patched to be commited, rebuild sal using it/
rebuild vcl using debug="not_empty_string"
then do :
cd vcl touch aqua/source/gdi/salbpm.cxx build
Use Pavel's. script be sure you can use aqua double clicking on the bundle
Supposing the AquaBuild sources are located in ~/SRC680_m195 ( adapt to your tree ) , do : cd <install_dir>/Openoffice.org\ 2.1.app/Contents/program
rm -f libvcl*
ln -s <AquaBuild_dir>/vcl/unxmacxi.pro/lib/libvcl* .
Start Xcode
Create a new project
e.g. aquavcl_debug in home dir