Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C86389BD7 for ; Mon, 7 May 2012 19:33:10 +0000 (UTC) Received: (qmail 39891 invoked by uid 500); 7 May 2012 19:33:10 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 39839 invoked by uid 500); 7 May 2012 19:33:10 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 39830 invoked by uid 99); 7 May 2012 19:33:10 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 19:33:10 +0000 Received: from localhost (HELO localhost) (127.0.0.1) (smtp-auth username arielch, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 19:33:10 +0000 Date: Mon, 7 May 2012 16:33:14 -0300 From: Ariel Constenla-Haile To: ooo-dev@incubator.apache.org Subject: Re: debugging with gdb Message-ID: <20120507193314.GB5270@localhost> References: <20120507191212.GA5270@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eAbsdosE1cNLO4uF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) --eAbsdosE1cNLO4uF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Nikolay, On Mon, May 07, 2012 at 11:16:55PM +0400, Ochirov Nikolay wrote: > Thank you, Ariel! > One more question - what is gbuild? AOO build environment is a mix of a Perl script (build.pl) + Dmake and the newly introduced "Gbuild", a build system based only on GNU Make. Some modules have been ported to the new build environment, you can find it out by looking at the module folder, for example: vcl, sfx2, sw: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/ http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sfx2/ http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sw/ they all have=20 * a main general Makefile=20 * a Module_$MODULENAME.mk * a Library_$LIBRARYNAME.mk per library * etc. Modules not ported to gbuild do not have those makefiles, see sd, sc, avmedia for example http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sc/ http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/ http://svn.apache.org/viewvc/incubator/ooo/trunk/main/avmedia/ You build the whole office in trunk/main/instsetoo_native/ with cd main/instsetoo_native/ build --html --all -P8 -- -P4 (an example, only) You build individual modules not ported to gbuild with the build.pl script: cd trunk/main/sc/ build deug=3Dtrue dbglevel=3D3 You build individual modules ported to gbuild with make: cd trunk/main/vcl/ make -sr DEBUG=3Dyes Of course, you have to know which modules to build with debugging symbols. If you can't figure it out, just tell us what you are interested in debugging and we'll give you a hint. Regards --=20 Ariel Constenla-Haile La Plata, Argentina --eAbsdosE1cNLO4uF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJPqCN6AAoJEMjP1bm45QNWT7IP/0wSJ4vyf7+xsUxKh23T2oCE kwyLcIWSHxAwJ757sUx/otcFxscNKS3ddesj+N6zMp6jZmIE1RaS5xVlhLT7yInv PtyZzxc6hALXLxVSqfPWMNIBW1pIdSLErrFD3QIvdz0XRBiOQSlPjr5OgzF1zwXF sjPYW9qCh6PCgtfkcBc1NTmx0EOAq28ceJ9BDVl4vqRAXMV9kCqnk/fxioyFM8BJ dwPn2ttGUx/SXwhF2shKMtBJ05qRLFWphRgnzvVr3Ixby7YvKmItHCtO9px9CdIl ByRAntPdh7S2gAed2+egKH0RTk+bGn3x+u6HrsRgxyFy8mp6fLnW/l8F+OqMGG7K W95P+f88OPUh1W6Jox2WeqrszTye/6Chfu7Z1RULnkwmX7hOOjhsK0WkMDO2Ak6W YX5QQRNW15IhY+g+F+fGDpC/WUKSGIXPlFrkOnwlMbvE3itl9M6rZuII5v2d23dF V1WkjIcWga8sKWta4B0AE+XIbQtMVT1FscS8qKwW6IQFV36Fo3gYTh5wM6y5YjmS SXmIwEOaxO3512MKbROM61xTQ7rWh5VE6DtQbxwLPq5dVnQa3weNiuqDg7P1BjhG zR7/gavxbIysBmQCl04pXROIeS34NXeqdIbVcHvYPqgNkdDfR7GryZ4UcwCpJTKx FEgfoAgWxM5LEFN1UNEq =/zIQ -----END PGP SIGNATURE----- --eAbsdosE1cNLO4uF--