Hi Ashish, On Thursday 27 of March 2008, AshishRaj wrote:
> i tried to use Linkoo, to relink soffice binary, but it did not work out as > expected (soffice binary time stamp didn't change). so i cleaned all > unxlngi6.pro dir's and ran configure with additional option > --enable-symbols, followed by dmake on root dir. however build was > successful, i can now see symbols in gdb, but soffice now crashes as soon > as it is launched. Please did you build with the patch from http://www.openoffice.org/issues/show_bug.cgi?id=83548 ? These days, linkoo does not work without that. Additionally, I guess linkoo will have to be updated after DEV300_m4 where the 'three layer OOo' was introduced. > Overall, I have following doubts:- > > 1. How to build specific modules with debug symbols and regenerate the > soffice binary and any dependent modules. You usually do not have to have all the symbols to be able to debug - so you usually do not have to recompile the soffice binary with debug symbols. It's usually enough to do so in the module you are interested in - in your case vcl. To do it, do 'cd vcl ; rm -r unxlng*.pro ; build debug=true'. > I understand linkoo has a role to play, but then how it is supposed to be > used? linkoo [if you build with the patch] is run once, and then you do not have to do it any more - then after you recompile vcl with debug symbols, you immediately use the version containing the debug symbols. > 2. How to enable debug logs and printf's, particularly in VCL layer and > applications such as writer, impress. As said above - remove the old unxlng*.pro, and do 'build debug=true'. Regards, Jan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
