OpenOffice在一台机器上只能装一个拷贝,在需要多个版本对比调试的时候需要轮流安装卸载。为了避免此问题可以将版本编译成各个代码库下的二进制包。调试时可以同时启动多个版本的Office。
方法如下:
在configure命令中加 --with-package-format=native
编译后直接生产二进制文件;
启动项位于:
instsetoo_native/unxlngi6.pro/OpenOffice/native/install/zh-CN/linux-2.6-intel/buildroot/opt/neoshinemilitaryoffice2/program
debug需要调试的模块,debug版本so文件copy到:
/instsetoo_native/unxlngi6.pro/OpenOffice/native/install/zh-CN/linux-2.6-intel/buildroot/opt/neoshinemilitaryoffice2/basis-link/program