Re: build.pl debug=1 for sw and svx
Christian Lippka <[email protected]>
| Newsgroups | gmane.comp.openoffice.devel.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Tora, Am 06.04.2011 11:31, schrieb tora - Takamichi Akiyama: > Hi Niklas, Daniel, and everybody interested in, > > On 2011/04/06 17:22, Daniel Rentz wrote: > > cd sw > > make clean > > make -srj9 debug=t > > > > The first call of make removes all output files of sw from > <solver>/workdir. The second call of make builds sw with debug, > libraries go into <solver>/workdir/LinkTarget/Library. "j9" builds with > 9 processes in parallel. > > On 2011/04/06 17:24, Niklas Nebel wrote: >> To rebuild a single module with debug info in the new build system, use >> cd sw >> make -sr clean >> make -sr debug=t >> >> See also http://blogs.sun.com/GullFOSS/entry/gbuild_meet_the_new_boss. > > Thanks a lot. It works very well. While Niklas and Daniel are absolutely right, make clean may not always be what you want. For example, if you just want to rebuild svx with debug and do a make -sr clean, your next make in sw module would rebuild a lot of stuff, since all dependency to svx would fire. If you only want to rebuild all obj files with debug, what you can do is rm -fr $WORKDIR/CxxObject/svx make -srj9 debug=t a lot faster and also modules depending on svx will not need a nearly full rebuild. Regards, Christian -- ----------------------------------------------------------------- To unsubscribe send email to [email protected] For additional commands send email to [email protected] with Subject: help