diff options
author | Jan Holesovsky <kendy@suse.cz> | 2011-09-27 12:02:01 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2011-09-27 12:02:41 +0200 |
commit | 07a7e3a76a2b64735f5c96a399d1da78a6209dd8 (patch) | |
tree | 880a5d0e96c4a150b12223ecb69dc7217d67e44f /README.cross | |
parent | abc08aefee5e7e93b86fa484ddbbea0b29aa3f37 (diff) |
Add MinGW debugging hints.
Diffstat (limited to 'README.cross')
-rw-r--r-- | README.cross | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/README.cross b/README.cross index 5325a4f374f6..a3966daedfac 100644 --- a/README.cross +++ b/README.cross @@ -172,6 +172,32 @@ CXX_FOR_BUILD=ccache g++ --without-helppack-integration --without-myspell-dicts +Once you have compiled it, you may want to try to run it: + +$ cd instsetoo_native/wntgcci.pro/LibreOffice_Dev/archive/install/en-US +$ tar xf LibO-Dev_OOO350m1_Win_x86_install-arc_en-US.tar.gz +$ cd LibO-Dev_OOO350m1_Win_x86_install-arc_en-US/LibO-dev\ 3.5/program +$ cp /usr/i686-w64-mingw32/sys-root/mingw/bin/* ./ +$ wine soffice.exe + +And if you are brave enough, you can even debug it. First you have to add the +URE dll's to the wine's PATH using 'wine regedit' - see +http://www.winehq.org/docs/wineusr-guide/environment-variables, and add +Z:\local\libreoffice\master-mingw32\instsetoo_native\wntgcci.pro\LibreOffice_Dev\archive\install\en-US\LibO-Dev_OOO350m1_Win_x86_install-arc_en-US\LibO-dev 3.5\URE\bin +to "Path". + +Then run linkoo, so that when you rebuild something, you can directly see the +changes the next time you run it: + +solenv/bin/linkoo '<your_clone_dir>/instsetoo_native/wntgcci.pro/LibreOffice_Dev/archive/install/en-US/LibO-Dev_OOO350m1_Win_x86_install-arc_en-US/LibO-dev 3.5' <your_clone_dir> + +And start debugging: + +$ winedbg soffice.bin + +Would be great to be able to use winedbg --gdb, but it was crashing here :-( - +but maybe you'll be more lucky. + TODO: - installation |