/[gentoo]/xml/htdocs/doc/en/bugzilla-howto.xml
Gentoo

Diff of /xml/htdocs/doc/en/bugzilla-howto.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.17 Revision 1.18
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 2<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.17 2010/02/28 06:14:00 nightmorph Exp $ --> 3<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/bugzilla-howto.xml,v 1.18 2012/07/24 12:12:51 swift Exp $ -->
4 4
5<guide> 5<guide>
6<title>Gentoo Bug Reporting Guide</title> 6<title>Gentoo Bug Reporting Guide</title>
7 7
8<author title="Author"> 8<author title="Author">
18 18
19<!-- The content of this document is licensed under the CC-BY-SA license --> 19<!-- The content of this document is licensed under the CC-BY-SA license -->
20<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 20<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
21<license/> 21<license/>
22 22
23<version>1.15</version> 23<version>2</version>
24<date>2010-02-27</date> 24<date>2012-07-24</date>
25 25
26<chapter> 26<chapter>
27<title>Introduction</title> 27<title>Introduction</title>
28<section> 28<section>
29<title>Preface</title> 29<title>Preface</title>
126<c>gdb</c> later on. As you can see, the program without debugging symbols is 126<c>gdb</c> later on. As you can see, the program without debugging symbols is
1273140 bytes, while the program with them is 6374 bytes. That's close to double 1273140 bytes, while the program with them is 6374 bytes. That's close to double
128the size! Two more things can be done for debugging. The first is adding 128the size! Two more things can be done for debugging. The first is adding
129<c>ggdb</c> to your CFLAGS and CXXFLAGS. This flag adds more debugging 129<c>ggdb</c> to your CFLAGS and CXXFLAGS. This flag adds more debugging
130information than is generally included. We'll see what that means later on. This 130information than is generally included. We'll see what that means later on. This
131is how <path>/etc/make.conf</path> <e>might</e> look with the newly added flags. 131is how <path>/etc/portage/make.conf</path> <e>might</e> look with the newly added flags.
132</p> 132</p>
133 133
134<pre caption="make.conf settings"> 134<pre caption="make.conf settings">
135CFLAGS="-O1 -pipe -ggdb" 135CFLAGS="-O1 -pipe -ggdb"
136CXXFLAGS="${CFLAGS}" 136CXXFLAGS="${CFLAGS}"
1352Some rather confusing vocabulary is used here. First off, let's see what an 1352Some rather confusing vocabulary is used here. First off, let's see what an
1353overlay is. An overlay is a special directory like <path>/usr/portage</path>, 1353overlay is. An overlay is a special directory like <path>/usr/portage</path>,
1354the difference being that when you <c>emerge sync</c>, files contained within it 1354the difference being that when you <c>emerge sync</c>, files contained within it
1355will not be deleted. Luckily, a special <path>/usr/local/portage</path> 1355will not be deleted. Luckily, a special <path>/usr/local/portage</path>
1356directory is created for that purpose. Let's go ahead and set our portage 1356directory is created for that purpose. Let's go ahead and set our portage
1357overlay in<path>/etc/make.conf</path>. Open make.conf up in your favorite editor 1357overlay in<path>/etc/portage/make.conf</path>. Open make.conf up in your favorite editor
1358and add this towards the end. 1358and add this towards the end.
1359</p> 1359</p>
1360 1360
1361<pre caption="Setting Up PORTDIR_OVERLAY"> 1361<pre caption="Setting Up PORTDIR_OVERLAY">
1362PORTDIR_OVERLAY="/usr/local/portage" 1362PORTDIR_OVERLAY="/usr/local/portage"

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

  ViewVC Help
Powered by ViewVC 1.1.20