aboutsummaryrefslogtreecommitdiff
path: root/documentation/content/en/books/developers-handbook/tools
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2025-05-01 23:11:25 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2025-05-01 23:11:25 +0000
commitf85add5b55c5a68df11aa282656a88e8d3a1fd8e (patch)
tree1b42e154f41fc93ac39f985ed1ae5d5fa64db7ed /documentation/content/en/books/developers-handbook/tools
parent064cb2c41704b78530e8a10970bba32347451114 (diff)
Diffstat (limited to 'documentation/content/en/books/developers-handbook/tools')
-rw-r--r--documentation/content/en/books/developers-handbook/tools/_index.po926
1 files changed, 464 insertions, 462 deletions
diff --git a/documentation/content/en/books/developers-handbook/tools/_index.po b/documentation/content/en/books/developers-handbook/tools/_index.po
index a24729225a..9f0e6ac5eb 100644
--- a/documentation/content/en/books/developers-handbook/tools/_index.po
+++ b/documentation/content/en/books/developers-handbook/tools/_index.po
@@ -7,7 +7,7 @@
msgid ""
msgstr ""
"Project-Id-Version: FreeBSD Documentation VERSION\n"
-"POT-Creation-Date: 2024-12-29 08:29-0500\n"
+"POT-Creation-Date: 2025-05-01 19:56-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -18,7 +18,7 @@ msgstr ""
#. type: Title =
#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:16
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:17
#, no-wrap
msgid "Programming Tools"
msgstr ""
@@ -30,13 +30,13 @@ msgid "Chapter 2. Programming Tools"
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:56
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:57
#, no-wrap
msgid "Synopsis"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:63
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:64
msgid ""
"This chapter is an introduction to using some of the programming tools "
"supplied with FreeBSD, although much of it will be applicable to many other "
@@ -47,13 +47,13 @@ msgid ""
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:65
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:66
#, no-wrap
msgid "Introduction"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:72
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:73
msgid ""
"FreeBSD offers an excellent development environment. Compilers for C and C+"
"+ and an assembler come with the basic system, not to mention classic "
@@ -67,7 +67,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:76
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:77
msgid ""
"However, all this power can be rather overwhelming at first if you have "
"never written programs on a UNIX(R) platform before. This document aims to "
@@ -77,7 +77,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:78
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:79
msgid ""
"Most of the document requires little or no knowledge of programming, "
"although it does assume a basic competence with using UNIX(R) and a "
@@ -85,13 +85,13 @@ msgid ""
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:80
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:81
#, no-wrap
msgid "Introduction to Programming"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:86
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:87
msgid ""
"A program is a set of instructions that tell the computer to do various "
"things; sometimes the instruction it has to perform depends on what happened "
@@ -104,13 +104,13 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:87
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:88
#, no-wrap
msgid "Interpreters"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:92
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:93
msgid ""
"With an interpreter, the language comes as an environment, where you type in "
"commands at a prompt and the environment executes them for you. For more "
@@ -121,7 +121,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:97
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:98
msgid ""
"The advantage of this is that you can see the results of your commands "
"immediately, and mistakes can be corrected readily. The biggest "
@@ -134,7 +134,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:102
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:103
msgid ""
"In my opinion, interpreted languages are the best way to start if you have "
"not done any programming before. This kind of environment is typically "
@@ -147,13 +147,13 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:103
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:104
#, no-wrap
msgid "Interpreters Available with FreeBSD"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:106
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:107
msgid ""
"Here is a list of interpreters that are available from the FreeBSD Ports "
"Collection, with a brief discussion of some of the more popular interpreted "
@@ -161,7 +161,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:108
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:109
msgid ""
"Instructions on how to get and install applications from the Ports "
"Collection can be found in the extref:{handbook}[Ports section, ports-using] "
@@ -169,13 +169,13 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:109
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:110
#, no-wrap
msgid "BASIC"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:113
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:114
msgid ""
"Short for Beginner's All-purpose Symbolic Instruction Code. Developed in "
"the 1950s for teaching University students to program and provided with "
@@ -185,7 +185,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:115
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:116
msgid ""
"The Bywater Basic Interpreter can be found in the Ports Collection as "
"package:lang/bwbasic[] and the Phil Cockroft's Basic Interpreter (formerly "
@@ -193,13 +193,13 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:116
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:117
#, no-wrap
msgid "Lisp"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:120
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:121
msgid ""
"A language that was developed in the late 1950s as an alternative to the "
"\"number-crunching\" languages that were popular at the time. Instead of "
@@ -209,14 +209,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:122
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:123
msgid ""
"Lisp is an extremely powerful and sophisticated language, but can be rather "
"large and unwieldy."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:126
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:127
msgid ""
"Various implementations of Lisp that can run on UNIX(R) systems are "
"available in the Ports Collection for FreeBSD. CLISP by Bruno Haible and "
@@ -225,33 +225,33 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:127
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:128
#, no-wrap
msgid "Perl"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:129
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:130
msgid ""
"Very popular with system administrators for writing scripts; also often used "
"on World Wide Web servers for writing CGI scripts."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:131
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:132
msgid ""
"Perl is available in the Ports Collection as package:lang/perl5.36[] for all "
"FreeBSD releases."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:132
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:133
#, no-wrap
msgid "Scheme"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:136
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:137
msgid ""
"A dialect of Lisp that is rather more compact and cleaner than Common Lisp. "
"Popular in Universities as it is simple enough to teach to undergraduates as "
@@ -260,37 +260,38 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:139
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:140
msgid ""
"Scheme is available from the Ports Collection as package:lang/elk[] for the "
-"Elk Scheme Interpreter. The MIT Scheme Interpreter can be found in package:"
-"lang/mit-scheme[] and the SCM Scheme Interpreter in package:lang/scm[]."
+"Elk Scheme Interpreter. The MIT Scheme Interpreter can be found in "
+"package:lang/mit-scheme[] and the SCM Scheme Interpreter in package:lang/"
+"scm[]."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:140
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:141
#, no-wrap
msgid "Lua"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:146
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:147
msgid ""
"Lua is a lightweight embeddable scripting language. It is widely portable "
-"and relatively simple. Lua is available in the Ports Collection in package:"
-"lang/lua54[]. It is also included in the base system as [.filename]#/usr/"
-"libexec/flua# for use by base system components. Third party software "
-"should not depend on [.filename]#flua#."
+"and relatively simple. Lua is available in the Ports Collection in "
+"package:lang/lua54[]. It is also included in the base system as "
+"[.filename]#/usr/libexec/flua# for use by base system components. Third "
+"party software should not depend on [.filename]#flua#."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:147
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:148
#, no-wrap
msgid "Python"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:150
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:151
msgid ""
"Python is an Object-Oriented, interpreted language. Its advocates argue "
"that it is one of the best languages to start programming with, since it is "
@@ -301,20 +302,20 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:152
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:153
msgid ""
"The latest version of Python is available from the Ports Collection in "
"package:lang/python[]."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:153
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:154
#, no-wrap
msgid "Ruby"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:156
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:157
msgid ""
"Ruby is an interpreter, pure object-oriented programming language. It has "
"become widely popular because of its easy to understand syntax, flexibility "
@@ -323,18 +324,18 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:158
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:159
msgid "Ruby is available from the Ports Collection as package:lang/ruby32[]."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:159
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:160
#, no-wrap
msgid "Tcl and Tk"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:162
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:163
msgid ""
"Tcl is an embeddable, interpreted language, that has become widely used and "
"became popular mostly because of its portability to many platforms. It can "
@@ -343,20 +344,20 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:165
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:166
msgid ""
"Various versions of Tcl are available as ports for FreeBSD. The latest "
"version, Tcl 8.7, can be found in package:lang/tcl87[]."
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:166
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:167
#, no-wrap
msgid "Compilers"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:173
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:174
msgid ""
"Compilers are rather different. First of all, you write your code in a file "
"(or files) using an editor. You then run the compiler and see if it accepts "
@@ -367,7 +368,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:180
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:181
msgid ""
"Obviously, this is not quite as direct as using an interpreter. However it "
"allows you to do a lot of things which are very difficult or even impossible "
@@ -382,7 +383,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:184
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:185
msgid ""
"As the edit-compile-run-debug cycle is rather tedious when using separate "
"programs, many commercial compiler makers have produced Integrated "
@@ -393,13 +394,13 @@ msgid ""
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:186
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:187
#, no-wrap
msgid "Compiling with `cc`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:191
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:192
msgid ""
"This section deals with the clang compiler for C and C++, as it's installed "
"with the FreeBSD base system. Clang is installed as `cc`; the GNU compiler "
@@ -410,7 +411,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:194
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:195
msgid ""
"Once you have written your masterpiece, the next step is to convert it into "
"something that will (hopefully!) run on FreeBSD. This usually involves "
@@ -418,35 +419,35 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:197
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:198
msgid ""
"Pre-process your source code to remove comments and do other tricks like "
"expanding macros in C."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:198
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:199
msgid ""
"Check the syntax of your code to see if you have obeyed the rules of the "
"language. If you have not, it will complain!"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:199
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:200
msgid ""
"Convert the source code into assembly language-this is very close to machine "
"code, but still understandable by humans. Allegedly."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:200
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:201
msgid ""
"Convert the assembly language into machine code-yep, we are talking bits and "
"bytes, ones and zeros here."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:201
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:202
msgid ""
"Check that you have used things like functions and global variables in a "
"consistent way. For example, if you have called a non-existent function, it "
@@ -454,26 +455,26 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:202
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:203
msgid ""
"If you are trying to produce an executable from several source code files, "
"work out how to fit them all together."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:203
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:204
msgid ""
"Work out how to produce something that the system's run-time loader will be "
"able to load into memory and run."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:204
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:205
msgid "Finally, write the executable on the filesystem."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:207
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:208
msgid ""
"The word _compiling_ is often used to refer to just steps 1 to 4-the others "
"are referred to as _linking_. Sometimes step 1 is referred to as _pre-"
@@ -481,7 +482,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:209
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:210
msgid ""
"Fortunately, almost all this detail is hidden from you, as `cc` is a front "
"end that manages calling all these programs with the right arguments for "
@@ -489,26 +490,26 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:213
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:214
#, no-wrap
msgid "% cc foobar.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:217
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:218
msgid ""
"will cause [.filename]#foobar.c# to be compiled by all the steps above. If "
"you have more than one file to compile, just do something like"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:221
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:222
#, no-wrap
msgid "% cc foo.c bar.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:226
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:227
msgid ""
"Note that the syntax checking is just that - checking the syntax. It will "
"not check for any logical mistakes you may have made, like putting the "
@@ -518,7 +519,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:229
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:230
msgid ""
"There are lots and lots of options for `cc`, which are all in the manual "
"page. Here are a few of the most important ones, with examples of how to "
@@ -526,13 +527,13 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:230
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:231
#, no-wrap
msgid "`-o _filename_`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:232
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:233
msgid ""
"The output name of the file. If you do not use this option, `cc` will "
"produce an executable called [.filename]#a.out#.footnote:[The reasons for "
@@ -540,7 +541,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:237
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:238
#, no-wrap
msgid ""
"% cc foobar.c executable is a.out\n"
@@ -548,40 +549,40 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:239
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:240
#, no-wrap
msgid "`-c`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:242
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:243
msgid ""
"Just compile the file, do not link it. Useful for toy programs where you "
"just want to check the syntax, or if you are using a [.filename]#Makefile#."
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:246
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:247
#, no-wrap
msgid "% cc -c foobar.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:250
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:251
msgid ""
-"This will produce an _object file_ (not an executable) called [."
-"filename]#foobar.o#. This can be linked together with other object files "
+"This will produce an _object file_ (not an executable) called "
+"[.filename]#foobar.o#. This can be linked together with other object files "
"into an executable."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:251
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:252
#, no-wrap
msgid "`-g`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:257
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:258
msgid ""
"Create a debug version of the executable. This makes the compiler put "
"information into the executable about which line of which source file "
@@ -594,13 +595,13 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:262
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:263
#, no-wrap
msgid "% cc -g foobar.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:265
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:266
msgid ""
"This will produce a debug version of the program. footnote:[Note, we did not "
"use the -o flag to specify the executable name, so we will get an executable "
@@ -609,13 +610,13 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:266
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:267
#, no-wrap
msgid "`-O`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:270
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:271
msgid ""
"Create an optimized version of the executable. The compiler performs "
"various clever tricks to try to produce an executable that runs faster than "
@@ -624,18 +625,18 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:274
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:275
#, no-wrap
msgid "% cc -O -o foobar foobar.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:277
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:278
msgid "This will produce an optimized version of [.filename]#foobar#."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:280
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:281
msgid ""
"The following three flags will force `cc` to check that your code complies "
"to the relevant international standard, often referred to as the ANSI "
@@ -643,26 +644,26 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:281
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:282
#, no-wrap
msgid "`-Wall`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:284
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:285
msgid ""
"Enable all the warnings which the authors of `cc` believe are worthwhile. "
"Despite the name, it will not enable all the warnings `cc` is capable of."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:285
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:286
#, no-wrap
msgid "`-ansi`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:288
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:289
msgid ""
"Turn off most, but not all, of the non-ANSI C features provided by `cc`. "
"Despite the name, it does not guarantee strictly that your code will comply "
@@ -670,18 +671,18 @@ msgid ""
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:289
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:290
#, no-wrap
msgid "`-pedantic`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:291
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:292
msgid "Turn off _all_ ``cc``'s non-ANSI C features."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:296
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:297
msgid ""
"Without these flags, `cc` will allow you to use some of its non-standard "
"extensions to the standard. Some of these are very useful, but will not "
@@ -691,7 +692,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:299
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:300
msgid ""
"Generally, you should try to make your code as portable as possible, as "
"otherwise you may have to completely rewrite the program later to get it to "
@@ -700,31 +701,31 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:303
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:304
#, no-wrap
msgid "% cc -Wall -ansi -pedantic -o foobar foobar.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:306
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:307
msgid ""
-"This will produce an executable [.filename]#foobar# after checking [."
-"filename]#foobar.c# for standard compliance."
+"This will produce an executable [.filename]#foobar# after checking "
+"[.filename]#foobar.c# for standard compliance."
msgstr ""
#. type: Labeled list
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:307
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:308
#, no-wrap
msgid "`-l__library__`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:309
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:310
msgid "Specify a function library to be used at link time."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:312
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:313
msgid ""
"The most common example of this is when compiling a program that uses some "
"of the mathematical functions in C. Unlike most other platforms, these are "
@@ -733,7 +734,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:316
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:317
msgid ""
"The rule is that if the library is called [.filename]#libsomething.a#, you "
"give `cc` the argument `-l__something__`. For example, the math library is "
@@ -743,69 +744,69 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:320
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:321
#, no-wrap
msgid "% cc -o foobar foobar.c -lm\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:323
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:324
msgid "This will link the math library functions into [.filename]#foobar#."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:326
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:327
msgid ""
"If you are compiling C++ code, use {c-plus-plus-command}. {c-plus-plus-"
"command} can also be invoked as {clang-plus-plus-command} on FreeBSD."
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:330
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:331
#, no-wrap
msgid "% c++ -o foobar foobar.cc\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:333
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:334
msgid ""
"This will both produce an executable [.filename]#foobar# from the C++ source "
"file [.filename]#foobar.cc#."
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:334
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:335
#, no-wrap
msgid "Common `cc` Queries and Problems"
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:336
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:337
#, no-wrap
msgid "I compiled a file called foobar.c and I cannot find an executable called foobar. Where has it gone?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:340
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:341
msgid ""
"Remember, `cc` will call the executable [.filename]#a.out# unless you tell "
"it differently. Use the `-o _filename_` option:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:344
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:345
#, no-wrap
msgid "% cc -o foobar foobar.c\n"
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:346
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:347
#, no-wrap
msgid "OK, I have an executable called foobar, I can see it when I run ls, but when I type in foobar at the command prompt it tells me there is no such file. Why can it not find it?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:350
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:351
msgid ""
"Unlike MS-DOS(R), UNIX(R) does not look in the current directory when it is "
"trying to find out which executable you want it to run, unless you tell it "
@@ -814,13 +815,13 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:351
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:352
#, no-wrap
msgid "I called my executable test, but nothing happens when I run it. What is going on?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:355
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:356
msgid ""
"Most UNIX(R) systems have a program called `test` in [.filename]#/usr/bin# "
"and the shell is picking that one up before it gets to checking the current "
@@ -828,24 +829,24 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:359
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:360
#, no-wrap
msgid "% ./test\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:362
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:363
msgid "or choose a better name for your program!"
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:363
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:364
#, no-wrap
msgid "I compiled my program and it seemed to run all right at first, then there was an error and it said something about core dumped. What does that mean?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:367
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:368
msgid ""
"The name _core dump_ dates back to the very early days of UNIX(R), when the "
"machines used core memory for storing data. Basically, if the program "
@@ -855,26 +856,26 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:368
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:369
#, no-wrap
msgid "Fascinating stuff, but what I am supposed to do now?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:371
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:372
msgid ""
"Use a debugger to analyze the core (see crossref:tools[debugging, "
"Debugging])."
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:372
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:373
#, no-wrap
msgid "When my program dumped core, it said something about a segmentation fault. What is that?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:376
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:377
msgid ""
"This basically means that your program tried to perform some sort of illegal "
"operation on memory; UNIX(R) is designed to protect the operating system and "
@@ -882,17 +883,17 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:378
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:379
msgid "Common causes for this are:"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:380
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:381
msgid "Trying to write to a NULL pointer, eg"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:385
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:386
#, no-wrap
msgid ""
"char *foo = NULL;\n"
@@ -900,12 +901,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:388
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:389
msgid "Using a pointer that has not been initialized, eg"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:393
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:394
#, no-wrap
msgid ""
"char *foo;\n"
@@ -913,7 +914,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:397
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:398
msgid ""
"The pointer will have some random value that, with luck, will point into an "
"area of memory that is not available to your program and the kernel will "
@@ -923,12 +924,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:398
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:399
msgid "Trying to access past the end of an array, eg"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:403
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:404
#, no-wrap
msgid ""
"int bar[20];\n"
@@ -936,12 +937,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:406
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:407
msgid "Trying to store something in read-only memory, eg"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:411
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:412
#, no-wrap
msgid ""
"char *foo = \"My string\";\n"
@@ -949,19 +950,19 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:414
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:415
msgid ""
"UNIX(R) compilers often put string literals like `\"My string\"` into read-"
"only areas of memory."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:415
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:416
msgid "Doing naughty things with `malloc()` and `free()`, eg"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:420
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:421
#, no-wrap
msgid ""
"char bar[80];\n"
@@ -969,12 +970,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:423
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:424
msgid "or"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:429
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:430
#, no-wrap
msgid ""
"char *foo = malloc(27);\n"
@@ -983,7 +984,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:434
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:435
msgid ""
"Making one of these mistakes will not always lead to an error, but they are "
"always bad practice. Some systems and compilers are more tolerant than "
@@ -992,13 +993,13 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:435
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:436
#, no-wrap
msgid "Sometimes when I get a core dump it says bus error. It says in my UNIX(R) book that this means a hardware problem, but the computer still seems to be working. Is this true?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:439
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:440
msgid ""
"No, fortunately not (unless of course you really do have a hardware "
"problem...). This is usually another way of saying that you accessed memory "
@@ -1006,40 +1007,40 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:440
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:441
#, no-wrap
msgid "This dumping core business sounds as though it could be quite useful, if I can make it happen when I want to. Can I do this, or do I have to wait until there is an error?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:443
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:444
msgid "Yes, just go to another console or xterm, do"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:447
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:448
#, no-wrap
msgid "% ps\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:450
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:451
msgid "to find out the process ID of your program, and do"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:454
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:455
#, no-wrap
msgid "% kill -ABRT pid\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:457
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:458
msgid "where `_pid_` is the process ID you looked up."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:460
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:461
msgid ""
"This is useful if your program has got stuck in an infinite loop, for "
"instance. If your program happens to trap SIGABRT, there are several other "
@@ -1047,7 +1048,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:463
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:464
msgid ""
"Alternatively, you can create a core dump from inside your program, by "
"calling the `abort()` function. See the manual page of man:abort[3] to "
@@ -1055,7 +1056,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:466
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:467
msgid ""
"If you want to create a core dump from outside your program, but do not want "
"the process to terminate, you can use the `gcore` program. See the manual "
@@ -1063,52 +1064,52 @@ msgid ""
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:468
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:469
#, no-wrap
msgid "Make"
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:470
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:471
#, no-wrap
msgid "What is `make`?"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:473
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:474
msgid ""
"When you are working on a simple program with only one or two source files, "
"typing in"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:477
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:478
#, no-wrap
msgid "% cc file1.c file2.c\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:480
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:481
msgid ""
"is not too bad, but it quickly becomes very tedious when there are several "
"files-and it can take a while to compile, too."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:483
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:484
msgid ""
"One way to get around this is to use object files and only recompile the "
"source file if the source code has changed. So we could have something like:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:487
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:488
#, no-wrap
msgid "% cc file1.o file2.o … file37.c …\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:491
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:492
msgid ""
"if we had changed [.filename]#file37.c#, but not any of the others, since "
"the last time we compiled. This may speed up the compilation quite a bit, "
@@ -1116,14 +1117,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:493
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:494
msgid ""
"Or we could write a shell script to solve the typing problem, but it would "
"have to re-compile everything, making it very inefficient on a large project."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:495
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:496
msgid ""
"What happens if we have hundreds of source files lying about? What if we are "
"working in a team with other people who forget to tell us when they have "
@@ -1131,7 +1132,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:498
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:499
msgid ""
"Perhaps we could put the two solutions together and write something like a "
"shell script that would contain some kind of magic rule saying when a source "
@@ -1140,43 +1141,43 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:503
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:504
msgid ""
"This program is called `make`. It reads in a file, called a _makefile_, "
"that tells it how different files depend on each other, and works out which "
"files need to be re-compiled and which ones do not. For example, a rule "
-"could say something like \"if [.filename]#fromboz.o# is older than [."
-"filename]#fromboz.c#, that means someone must have changed [."
-"filename]#fromboz.c#, so it needs to be re-compiled.\" The makefile also has "
-"rules telling make _how_ to re-compile the source file, making it a much "
+"could say something like \"if [.filename]#fromboz.o# is older than "
+"[.filename]#fromboz.c#, that means someone must have changed "
+"[.filename]#fromboz.c#, so it needs to be re-compiled.\" The makefile also "
+"has rules telling make _how_ to re-compile the source file, making it a much "
"more powerful tool."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:506
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:507
msgid ""
"Makefiles are typically kept in the same directory as the source they apply "
-"to, and can be called [.filename]#makefile#, [.filename]#Makefile# or [."
-"filename]#MAKEFILE#. Most programmers use the name [.filename]#Makefile#, "
+"to, and can be called [.filename]#makefile#, [.filename]#Makefile# or "
+"[.filename]#MAKEFILE#. Most programmers use the name [.filename]#Makefile#, "
"as this puts it near the top of a directory listing, where it can easily be "
"seen.footnote:[They do not use the MAKEFILE form as block capitals are often "
"used for documentation files like README.]"
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:507
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:508
#, no-wrap
msgid "Example of Using `make`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:510
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:511
msgid "Here is a very simple make file:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:515
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:541
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:516
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:542
#, no-wrap
msgid ""
"foo: foo.c\n"
@@ -1184,25 +1185,26 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:518
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:519
msgid "It consists of two lines, a dependency line and a creation line."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:525
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:526
msgid ""
"The dependency line here consists of the name of the program (known as the "
"_target_), followed by a colon, then whitespace, then the name of the source "
"file. When `make` reads this line, it looks to see if [.filename]#foo# "
"exists; if it exists, it compares the time [.filename]#foo# was last "
-"modified to the time [.filename]#foo.c# was last modified. If [."
-"filename]#foo# does not exist, or is older than [.filename]#foo.c#, it then "
-"looks at the creation line to find out what to do. In other words, this is "
-"the rule for working out when [.filename]#foo.c# needs to be re-compiled."
+"modified to the time [.filename]#foo.c# was last modified. If "
+"[.filename]#foo# does not exist, or is older than [.filename]#foo.c#, it "
+"then looks at the creation line to find out what to do. In other words, "
+"this is the rule for working out when [.filename]#foo.c# needs to be re-"
+"compiled."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:529
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:530
msgid ""
"The creation line starts with a tab (press kbd:[tab]) and then the command "
"you would type to create [.filename]#foo# if you were doing it at a command "
@@ -1212,7 +1214,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:533
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:534
msgid ""
"So, when you type `make`, it will make sure that [.filename]#foo# is up to "
"date with respect to your latest changes to [.filename]#foo.c#. This "
@@ -1222,14 +1224,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:536
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:537
msgid ""
"Another useful property of makefiles is that the targets do not have to be "
"programs. For instance, we could have a make file that looks like this:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:544
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:545
#, no-wrap
msgid ""
"install:\n"
@@ -1237,18 +1239,18 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:547
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:548
msgid "We can tell make which target we want to make by typing:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:551
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:552
#, no-wrap
msgid "% make target\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:555
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:556
msgid ""
"`make` will then only look at that target and ignore any others. For "
"example, if we type `make foo` with the makefile above, make will ignore the "
@@ -1256,7 +1258,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:558
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:559
msgid ""
"If we just type `make` on its own, make will always look at the first target "
"and then stop without looking at any others. So if we typed `make` here, it "
@@ -1265,18 +1267,18 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:562
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:563
msgid ""
"Notice that the `install` target does not actually depend on anything! This "
"means that the command on the following line is always executed when we try "
-"to make that target by typing `make install`. In this case, it will copy [."
-"filename]#foo# into the user's home directory. This is often used by "
+"to make that target by typing `make install`. In this case, it will copy "
+"[.filename]#foo# into the user's home directory. This is often used by "
"application makefiles, so that the application can be installed in the "
"correct directory when it has been correctly compiled."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:567
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:568
msgid ""
"This is a slightly confusing subject to try to explain. If you do not quite "
"understand how `make` works, the best thing to do is to write a simple "
@@ -1287,13 +1289,13 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:568
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:569
#, no-wrap
msgid "Make and include-files"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:572
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:573
msgid ""
"C code often starts with a list of files to include, for example stdio.h. "
"Some of these files are system-include files, some of them are from the "
@@ -1301,7 +1303,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:577
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:578
#, no-wrap
msgid ""
"#include <stdio.h>\n"
@@ -1309,26 +1311,26 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:579
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:580
#, no-wrap
msgid "int main(....\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:582
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:583
msgid ""
"To make sure that this file is recompiled the moment [.filename]#foo.h# is "
"changed, you have to add it in your [.filename]#Makefile#:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:586
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:587
#, no-wrap
msgid "foo: foo.c foo.h\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:593
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:594
msgid ""
"The moment your project is getting bigger and you have more and more own "
"include-files to maintain, it will be a pain to keep track of all include "
@@ -1339,12 +1341,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:595
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:596
msgid "If you add this to your Makefile:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:600
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:601
#, no-wrap
msgid ""
"depend:\n"
@@ -1352,40 +1354,40 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:603
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:604
msgid ""
"and run `make depend`, the file [.filename]#.depend# will appear with a list "
"of object-files, C-files and the include-files:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:607
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:608
#, no-wrap
msgid "foo.o: foo.c foo.h\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:610
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:611
msgid ""
"If you change [.filename]#foo.h#, next time you run `make` all files "
"depending on [.filename]#foo.h# will be recompiled."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:612
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:613
msgid ""
"Do not forget to run `make depend` each time you add an include-file to one "
"of your files."
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:613
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:614
#, no-wrap
msgid "FreeBSD Makefiles"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:619
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:620
msgid ""
"Makefiles can be rather complicated to write. Fortunately, BSD-based "
"systems like FreeBSD come with some very powerful ones as part of the "
@@ -1394,7 +1396,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:624
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:625
#, no-wrap
msgid ""
"MASTER_SITES= ftp://freefall.cdrom.com/pub/FreeBSD/LOCAL_PORTS/\n"
@@ -1402,34 +1404,34 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:626
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:627
#, no-wrap
msgid ".include <bsd.port.mk>\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:629
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:630
msgid ""
"Now, if we go to the directory for this port and type `make`, the following "
"happens:"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:632
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:633
msgid ""
"A check is made to see if the source code for this port is already on the "
"system."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:633
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:634
msgid ""
"If it is not, an FTP connection to the URL in MASTER_SITES is set up to "
"download the source."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:634
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:635
msgid ""
"The checksum for the source is calculated and compared it with one for a "
"known, good, copy of the source. This is to make sure that the source was "
@@ -1437,14 +1439,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:635
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:636
msgid ""
"Any changes required to make the source work on FreeBSD are applied-this is "
"known as _patching_."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:636
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:637
msgid ""
"Any special configuration needed for the source is done. (Many UNIX(R) "
"program distributions try to work out which version of UNIX(R) they are "
@@ -1453,7 +1455,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:637
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:638
msgid ""
"The source code for the program is compiled. In effect, we change to the "
"directory where the source was unpacked and do `make`-the program's own make "
@@ -1461,7 +1463,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:638
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:639
msgid ""
"We now have a compiled version of the program. If we wish, we can test it "
"now; when we feel confident about the program, we can type `make install`. "
@@ -1472,13 +1474,13 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:640
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:641
msgid ""
"Now I think you will agree that is rather impressive for a four line script!"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:644
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:645
msgid ""
"The secret lies in the last line, which tells `make` to look in the system "
"makefile called [.filename]#bsd.port.mk#. It is easy to overlook this line, "
@@ -1490,22 +1492,22 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:648
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:649
msgid ""
-"If you want to have a look at these system makefiles, they are in [."
-"filename]#/usr/share/mk#, but it is probably best to wait until you have had "
-"a bit of practice with makefiles, as they are very complicated (and if you "
-"do look at them, make sure you have a flask of strong coffee handy!)"
+"If you want to have a look at these system makefiles, they are in "
+"[.filename]#/usr/share/mk#, but it is probably best to wait until you have "
+"had a bit of practice with makefiles, as they are very complicated (and if "
+"you do look at them, make sure you have a flask of strong coffee handy!)"
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:649
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:650
#, no-wrap
msgid "More Advanced Uses of `make`"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:655
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:656
msgid ""
"`Make` is a very powerful tool, and can do much more than the simple example "
"above shows. Unfortunately, there are several different versions of `make`, "
@@ -1517,7 +1519,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:659
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:660
msgid ""
"Many applications in the ports use GNU make, which has a very good set of "
"\"info\" pages. If you have installed any of these ports, GNU make will "
@@ -1526,7 +1528,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:662
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:663
msgid ""
"To view the info pages for GNU make, you will have to edit [.filename]#dir# "
"in the [.filename]#/usr/local/info# directory to add an entry for it. This "
@@ -1534,32 +1536,32 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:666
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:667
#, no-wrap
msgid " * Make: (make). The GNU Make utility.\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:669
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:670
msgid ""
-"to the file. Once you have done this, you can type `info` and then select [."
-"guimenuitem]#make# from the menu (or in Emacs, do `C-h i`)."
+"to the file. Once you have done this, you can type `info` and then select "
+"[.guimenuitem]#make# from the menu (or in Emacs, do `C-h i`)."
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:671
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:672
#, no-wrap
msgid "Debugging"
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:673
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:674
#, no-wrap
msgid "Introduction to Available Debuggers"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:678
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:679
msgid ""
"Using a debugger allows running the program under more controlled "
"circumstances. Typically, it is possible to step through the program a line "
@@ -1570,7 +1572,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:681
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:682
msgid ""
"This section is intended to be a quick introduction to using debuggers and "
"does not cover specialized topics such as debugging the kernel. For more "
@@ -1579,7 +1581,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:685
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:686
msgid ""
"The standard debugger supplied with FreeBSD is called `lldb` (LLVM "
"debugger). As it is part of the standard installation for that release, "
@@ -1589,14 +1591,14 @@ msgid ""
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:689
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:690
msgid ""
"The `lldb` command is also available extref:{handbook}ports/[from ports or "
"packages, ports-using] as package:devel/llvm[]."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:695
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:696
msgid ""
"The other debugger available with FreeBSD is called `gdb` (GNU debugger). "
"Unlike lldb, it is not installed by default on FreeBSD; to use it, extref:"
@@ -1605,7 +1607,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:700
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:701
msgid ""
"The two debuggers have a similar feature set, so which one to use is largely "
"a matter of taste. If familiar with one only, use that one. People "
@@ -1615,36 +1617,36 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:701
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:702
#, no-wrap
msgid "Using lldb"
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:703
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:704
#, no-wrap
msgid "Starting lldb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:706
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:707
msgid "Start up lldb by typing"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:710
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:711
#, no-wrap
msgid "% lldb -- progname\n"
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:712
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:713
#, no-wrap
msgid "Running a Program with lldb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:717
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:718
msgid ""
"Compile the program with `-g` to get the most out of using `lldb`. It will "
"work without, but will only display the name of the function currently "
@@ -1652,27 +1654,27 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:721
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:722
#, no-wrap
msgid "Breakpoint 1: where = temp`main, address = …\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:724
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:725
msgid ""
"(without an indication of source code filename and line number) when setting "
"a breakpoint, this means that the program was not compiled with `-g`."
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:729
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:730
msgid ""
"Most `lldb` commands have shorter forms that can be used instead. The "
"longer forms are used here for clarity."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:734
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:735
msgid ""
"At the `lldb` prompt, type `breakpoint set -n main`. This will tell the "
"debugger not to display the preliminary set-up code in the program being run "
@@ -1683,7 +1685,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:738
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:739
msgid ""
"To step through the program a line at a time, type `thread step-over`. When "
"the program gets to a function call, step into it by typing `thread step-"
@@ -1692,29 +1694,29 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:741
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:742
msgid ""
"Here is a simple example of how to spot a mistake in a program with `lldb`. "
"This is our program (with a deliberate mistake):"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:745
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1019
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:746
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1020
#, no-wrap
msgid "#include <stdio.h>\n"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:747
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1021
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:748
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1022
#, no-wrap
msgid "int bazz(int anint);\n"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:750
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1024
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:751
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1025
#, no-wrap
msgid ""
"main() {\n"
@@ -1722,8 +1724,8 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:755
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1029
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:756
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1030
#, no-wrap
msgid ""
"\tprintf(\"This is my program\\n\");\n"
@@ -1733,8 +1735,8 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:760
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1034
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:761
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1035
#, no-wrap
msgid ""
"int bazz(int anint) {\n"
@@ -1744,21 +1746,21 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:763
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1037
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:764
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1038
msgid ""
"This program sets i to be `5` and passes it to a function `bazz()` which "
"prints out the number we gave it."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:765
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1039
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:766
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1040
msgid "Compiling and running the program displays"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:772
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:773
#, no-wrap
msgid ""
"% cc -g -o temp temp.c\n"
@@ -1768,12 +1770,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:775
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:776
msgid "That is not what was expected! Time to see what is going on!"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:786
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:787
#, no-wrap
msgid ""
"% lldb -- temp\n"
@@ -1787,7 +1789,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:820
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:821
#, no-wrap
msgid ""
"Process 9992 stopped\n"
@@ -1826,14 +1828,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:823
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:824
msgid ""
"Hang on a minute! How did anint get to be `-5360`? Was it not set to `5` in "
"`main()`? Let us move up to `main()` and have a look."
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:837
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:838
#, no-wrap
msgid ""
"(lldb) up\t\tMove up call stack\n"
@@ -1850,15 +1852,15 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:841
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1082
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:842
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1083
msgid ""
"Oh dear! Looking at the code, we forgot to initialize i. We meant to put"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:847
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1088
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:848
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1089
#, no-wrap
msgid ""
"...\n"
@@ -1867,8 +1869,8 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:851
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1092
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:852
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1093
#, no-wrap
msgid ""
"\ti = 5;\n"
@@ -1877,7 +1879,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:856
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:857
msgid ""
"but we left the `i=5;` line out. As we did not initialize i, it had "
"whatever number happened to be in that area of memory when the program ran, "
@@ -1885,7 +1887,7 @@ msgid ""
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:862
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:863
msgid ""
"The `lldb` command displays the stack frame every time we go into or out of "
"a function, even if we are using `up` and `down` to move around the call "
@@ -1896,38 +1898,38 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:864
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:865
#, no-wrap
msgid "Examining a Core File with lldb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:869
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1110
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:870
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1111
msgid ""
"A core file is basically a file which contains the complete state of the "
"process when it crashed. In \"the good old days\", programmers had to print "
"out hex listings of core files and sweat over machine code manuals, but now "
"life is a bit easier. Incidentally, under FreeBSD and other 4.4BSD systems, "
-"a core file is called [.filename]#progname.core# instead of just [."
-"filename]#core#, to make it clearer which program a core file belongs to."
+"a core file is called [.filename]#progname.core# instead of just "
+"[.filename]#core#, to make it clearer which program a core file belongs to."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:872
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:873
msgid ""
"To examine a core file, specify the name of the core file in addition to the "
-"program itself. Instead of starting up `lldb` in the usual way, type `lldb -"
-"c _progname_.core \\-- _progname_`."
+"program itself. Instead of starting up `lldb` in the usual way, type `lldb "
+"-c _progname_.core \\-- _progname_`."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:874
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:875
msgid "The debugger will display something like this:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:881
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:882
#, no-wrap
msgid ""
"% lldb -c [.filename]#progname.core# -- [.filename]#progname#\n"
@@ -1937,7 +1939,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:887
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:888
msgid ""
"In this case, the program was called [.filename]#progname#, so the core file "
"is called [.filename]#progname.core#. The debugger does not display why the "
@@ -1946,7 +1948,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:896
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:897
#, no-wrap
msgid ""
"(lldb) thread backtrace all\n"
@@ -1958,7 +1960,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:901
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:902
msgid ""
"`SIGSEGV` indicates that the program tried to access memory (run code or "
"read/write data usually) at a location that does not belong to it, but does "
@@ -1968,13 +1970,13 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:902
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:903
#, no-wrap
msgid "Attaching to a Running Program with lldb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:907
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:908
msgid ""
"One of the neatest features about `lldb` is that it can attach to a program "
"that is already running. Of course, that requires sufficient permissions to "
@@ -1983,34 +1985,34 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:909
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:910
msgid ""
"To do that, start up another `lldb`, use `ps` to find the process ID for the "
"child, and do"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:913
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:914
#, no-wrap
msgid "(lldb) process attach -p pid\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:916
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:917
msgid "in `lldb`, and then debug as usual."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:918
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1173
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:919
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1174
msgid ""
"For that to work well, the code that calls `fork` to create the child needs "
"to do something like the following (courtesy of the `gdb` info pages):"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:926
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1181
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:927
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1182
#, no-wrap
msgid ""
"...\n"
@@ -2021,8 +2023,8 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:932
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1187
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:933
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1188
#, no-wrap
msgid ""
"\twhile (PauseMode)\n"
@@ -2033,20 +2035,20 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:935
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:936
msgid ""
"Now all that is needed is to attach to the child, set PauseMode to `0` with "
"`expr PauseMode = 0` and wait for the `sleep()` call to return."
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:936
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:937
#, no-wrap
msgid "Remote Debugging Using LLDB"
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:942
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:943
msgid ""
"The described functionality is available starting with LLDB version 12.0.0. "
"Users of FreeBSD releases containing an earlier LLDB version may wish to use "
@@ -2055,7 +2057,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:946
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:947
msgid ""
"Starting with LLDB 12.0.0, remote debugging is supported on FreeBSD. This "
"means that `lldb-server` can be started to debug a program on one host, "
@@ -2063,87 +2065,87 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:948
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:949
msgid ""
"To launch a new process to be debugged remotely, run `lldb-server` on the "
"remote server by typing"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:952
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:953
#, no-wrap
msgid "% lldb-server g host:port -- progname\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:955
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:956
msgid ""
"The process will be stopped immediately after launching, and `lldb-server` "
"will wait for the client to connect."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:957
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:958
msgid ""
"Start `lldb` locally and type the following command to connect to the remote "
"server:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:961
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:962
#, no-wrap
msgid "(lldb) gdb-remote host:port\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:965
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:966
msgid ""
"`lldb-server` can also attach to a running process. To do that, type the "
"following on the remote server:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:969
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:970
#, no-wrap
msgid "% lldb-server g host:port --attach pid-or-name\n"
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:971
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:972
#, no-wrap
msgid "Using gdb"
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:973
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:974
#, no-wrap
msgid "Starting gdb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:976
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:977
msgid "Start up gdb by typing"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:980
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:981
#, no-wrap
msgid "% gdb progname\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:984
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:985
msgid "although many people prefer to run it inside Emacs. To do this, type:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:988
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:989
#, no-wrap
msgid " M-x gdb RET progname RET\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:991
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:992
msgid ""
"Finally, for those finding its text-based command-prompt style off-putting, "
"there is a graphical front-end for it (package:devel/xxgdb[]) in the Ports "
@@ -2151,13 +2153,13 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:992
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:993
#, no-wrap
msgid "Running a Program with gdb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:997
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:998
msgid ""
"Compile the program with `-g` to get the most out of using `gdb`. It will "
"work without, but will only display the name of the function currently "
@@ -2165,18 +2167,18 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1001
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1002
#, no-wrap
msgid "... (no debugging symbols found) ...\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1004
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1005
msgid "when `gdb` starts up means that the program was not compiled with `-g`."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1008
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1009
msgid ""
"At the `gdb` prompt, type `break main`. This will tell the debugger to skip "
"the preliminary set-up code in the program being run and to stop execution "
@@ -2186,7 +2188,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1012
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1013
msgid ""
"To step through the program a line at a time, press `n`. When at a function "
"call, step into it by pressing `s`. Once in a function call, return from it "
@@ -2194,14 +2196,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1015
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1016
msgid ""
"Here is a simple example of how to spot a mistake in a program with `gdb`. "
"This is our program (with a deliberate mistake):"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1046
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1047
#, no-wrap
msgid ""
"% cc -g -o temp temp.c\n"
@@ -2211,12 +2213,12 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1049
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1050
msgid "That was not what we expected! Time to see what is going on!"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1061
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1062
#, no-wrap
msgid ""
"% gdb temp\n"
@@ -2231,7 +2233,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1068
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1069
#, no-wrap
msgid ""
"Breakpoint 1, main () at temp.c:9\t\tgdb stops at main()\n"
@@ -2243,14 +2245,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1071
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1072
msgid ""
"Hang on a minute! How did anint get to be `4231`? Was it not set to `5` in "
"`main()`? Let us move up to `main()` and have a look."
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1078
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1079
#, no-wrap
msgid ""
"(gdb) up\t\t\t\t\tMove up call stack\n"
@@ -2260,7 +2262,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1097
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1098
msgid ""
"but we left the `i=5;` line out. As we did not initialize i, it had "
"whatever number happened to be in that area of memory when the program ran, "
@@ -2268,7 +2270,7 @@ msgid ""
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1103
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1104
msgid ""
"The `gdb` command displays the stack frame every time we go into or out of a "
"function, even if we are using `up` and `down` to move around the call "
@@ -2279,38 +2281,38 @@ msgid ""
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1105
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1106
#, no-wrap
msgid "Examining a Core File with gdb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1113
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1114
msgid ""
"To examine a core file, start up `gdb` in the usual way. Instead of typing "
"`break` or `run`, type"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1117
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1118
#, no-wrap
msgid "(gdb) core progname.core\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1120
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1121
msgid ""
"If the core file is not in the current directory, type `dir /path/to/core/"
"file` first."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1122
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1123
msgid "The debugger should display something like this:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1136
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1137
#, no-wrap
msgid ""
"% gdb [.filename]#progname#\n"
@@ -2327,7 +2329,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1140
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1141
msgid ""
"In this case, the program was called [.filename]#progname#, so the core file "
"is called [.filename]#progname.core#. We can see that the program crashed "
@@ -2336,7 +2338,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1144
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1145
msgid ""
"Sometimes it is useful to be able to see how a function was called, as the "
"problem could have occurred a long way up the call stack in a complex "
@@ -2344,7 +2346,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1152
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1153
#, no-wrap
msgid ""
"(gdb) bt\n"
@@ -2355,20 +2357,20 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1156
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1157
msgid ""
"The `end()` function is called when a program crashes; in this case, the "
"`bazz()` function was called from `main()`."
msgstr ""
#. type: Title ====
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1157
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1158
#, no-wrap
msgid "Attaching to a Running Program with gdb"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1162
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1163
msgid ""
"One of the neatest features about `gdb` is that it can attach to a program "
"that is already running. Of course, that requires sufficient permissions to "
@@ -2377,44 +2379,44 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1164
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1165
msgid ""
"To do that, start up another `gdb`, use `ps` to find the process ID for the "
"child, and do"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1168
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1169
#, no-wrap
msgid "(gdb) attach pid\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1171
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1172
msgid "in `gdb`, and then debug as usual."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1190
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1191
msgid ""
"Now all that is needed is to attach to the child, set PauseMode to `0`, and "
"wait for the `sleep()` call to return!"
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1192
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1193
#, no-wrap
msgid "Using Emacs as a Development Environment"
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1194
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1195
#, no-wrap
msgid "Emacs"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1198
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1199
msgid ""
"Emacs is a highly customizable editor-indeed, it has been customized to the "
"point where it is more like an operating system than an editor! Many "
@@ -2423,14 +2425,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1200
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1201
msgid ""
"It is impossible even to summarize everything Emacs can do here, but here "
"are some of the features of interest to developers:"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1202
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1203
msgid ""
"Very powerful editor, allowing search-and-replace on both strings and "
"regular expressions (patterns), jumping to start/end of block expression, "
@@ -2438,67 +2440,67 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1203
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1204
msgid "Pull-down menus and online help."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1204
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1205
msgid "Language-dependent syntax highlighting and indentation."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1205
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1206
msgid "Completely customizable."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1206
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1207
msgid "You can compile and debug programs within Emacs."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1207
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1208
msgid ""
"On a compilation error, you can jump to the offending line of source code."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1208
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1209
msgid ""
"Friendly-ish front-end to the `info` program used for reading GNU hypertext "
"documentation, including the documentation on Emacs itself."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1209
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1210
msgid ""
"Friendly front-end to `gdb`, allowing you to look at the source code as you "
"step through your program."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1211
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1212
msgid "And doubtless many more that have been overlooked."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1213
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1214
msgid ""
"Emacs can be installed on FreeBSD using the package:editors/emacs[] port."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1216
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1217
msgid ""
"Once it is installed, start it up and do `C-h t` to read an Emacs tutorial-"
"that means hold down kbd:[control], press kbd:[h], let go of kbd:[control], "
-"and then press kbd:[t]. (Alternatively, you can use the mouse to select [."
-"guimenuitem]#Emacs Tutorial# from the menu:Help[] menu.)"
+"and then press kbd:[t]. (Alternatively, you can use the mouse to select "
+"[.guimenuitem]#Emacs Tutorial# from the menu:Help[] menu.)"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1221
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1222
msgid ""
"Although Emacs does have menus, it is well worth learning the key bindings, "
"as it is much quicker when you are editing something to press a couple of "
@@ -2510,7 +2512,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1225
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1226
msgid ""
"Fortunately, it is quite easy to pick up the key-bindings, as they are "
"displayed next to the menu item. My advice is to use the menu item for, "
@@ -2520,17 +2522,17 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1228
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1229
msgid ""
-"If you cannot remember what a particular combination of keys does, select [."
-"guimenuitem]#Describe Key# from the menu:Help[] menu and type it in-Emacs "
+"If you cannot remember what a particular combination of keys does, select "
+"[.guimenuitem]#Describe Key# from the menu:Help[] menu and type it in-Emacs "
"will tell you what it does. You can also use the [.guimenuitem]#Command "
"Apropos# menu item to find out all the commands which contain a particular "
"word in them, with the key binding next to it."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1231
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1232
msgid ""
"By the way, the expression above means hold down the kbd:[Meta] key, press "
"kbd:[x], release the kbd:[Meta] key, type `replace-s` (short for `replace-"
@@ -2542,7 +2544,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1234
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1235
msgid ""
"If you are wondering what on earth kbd:[Meta] is, it is a special key that "
"many UNIX(R) workstations have. Unfortunately, PC's do not have one, so it "
@@ -2550,7 +2552,7 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1238
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1239
msgid ""
"Oh, and to get out of Emacs, do `C-x C-c` (that means hold down the kbd:"
"[control] key, press kbd:[x], press kbd:[c] and release the kbd:[control] "
@@ -2562,20 +2564,20 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1239
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1240
#, no-wrap
msgid "Configuring Emacs"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1242
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1243
msgid ""
"Emacs does many wonderful things; some of them are built in, some of them "
"need to be configured."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1246
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1247
msgid ""
"Instead of using a proprietary macro language for configuration, Emacs uses "
"a version of Lisp specially adapted for editors, known as Emacs Lisp. "
@@ -2585,14 +2587,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1248
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1249
msgid ""
-"The best way to learn Emacs Lisp is to read the online link:https://www.gnu."
-"org/software/emacs/manual/elisp.html[Emacs Reference] manual."
+"The best way to learn Emacs Lisp is to read the online link:https://"
+"www.gnu.org/software/emacs/manual/elisp.html[Emacs Reference] manual."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1253
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1254
msgid ""
"However, there is no need to actually know any Lisp to get started with "
"configuring Emacs, as I have included a sample [.filename]#.emacs#, which "
@@ -2602,35 +2604,35 @@ msgid ""
msgstr ""
#. type: Block title
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1254
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1272
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1255
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1273
#, no-wrap
msgid "A Sample [.filename]#.emacs#"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1257
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1258
msgid ""
"Unfortunately, there is far too much here to explain it in detail; however "
"there are one or two points worth mentioning."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1259
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1260
msgid "Everything beginning with a `;` is a comment and is ignored by Emacs."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1260
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1261
msgid ""
-"In the first line, the `-*- Emacs-Lisp -*-` is so that we can edit [."
-"filename]#.emacs# itself within Emacs and get all the fancy features for "
+"In the first line, the `-*- Emacs-Lisp -*-` is so that we can edit "
+"[.filename]#.emacs# itself within Emacs and get all the fancy features for "
"editing Emacs Lisp. Emacs usually tries to guess this based on the filename, "
"and may not get it right for [.filename]#.emacs#."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1261
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1262
msgid ""
"The kbd:[tab] key is bound to an indentation function in some modes, so when "
"you press the tab key, it will indent the current line of code. If you want "
@@ -2639,14 +2641,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1262
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1263
msgid ""
"This file supports syntax highlighting for C, C++, Perl, Lisp and Scheme, by "
"guessing the language from the filename."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1263
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1264
msgid ""
"Emacs already has a pre-defined function called `next-error`. In a "
"compilation output window, this allows you to move from one compilation "
@@ -2657,20 +2659,20 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1264
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1265
msgid ""
"We enable Emacs's ability to act as a server, so that if you are doing "
"something outside Emacs and you want to edit a file, you can just type in"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1268
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1269
#, no-wrap
msgid "% emacsclient filename\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1271
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1272
msgid ""
"and then you can edit the file in your Emacs!footnote:[Many Emacs users set "
"their EDITOR environment to emacsclient so this happens every time they need "
@@ -2678,13 +2680,13 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1277
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1278
#, no-wrap
msgid ";; -*-Emacs-Lisp-*-\n"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1282
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1283
#, no-wrap
msgid ""
";; This file is designed to be re-evaled; use the variable first-time\n"
@@ -2694,7 +2696,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1290
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1291
#, no-wrap
msgid ""
";; Meta\n"
@@ -2707,7 +2709,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1311
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1312
#, no-wrap
msgid ""
";; Function keys\n"
@@ -2733,7 +2735,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1329
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1330
#, no-wrap
msgid ""
";; Keypad bindings\n"
@@ -2756,7 +2758,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1332
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1333
#, no-wrap
msgid ""
";; Mouse\n"
@@ -2764,7 +2766,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1336
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1337
#, no-wrap
msgid ""
";; Misc\n"
@@ -2773,7 +2775,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1341
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1342
#, no-wrap
msgid ""
";; Treat 'y' or <CR> as yes, 'n' as no.\n"
@@ -2783,7 +2785,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1345
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1346
#, no-wrap
msgid ""
";; Load packages\n"
@@ -2792,7 +2794,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1351
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1352
#, no-wrap
msgid ""
";; Pretty diff mode\n"
@@ -2803,7 +2805,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1360
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1361
#, no-wrap
msgid ""
"(if first-time\n"
@@ -2817,7 +2819,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1365
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1366
#, no-wrap
msgid ""
";; Auto font lock mode\n"
@@ -2827,7 +2829,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1370
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1371
#, no-wrap
msgid ""
"(defvar font-lock-mode-keyword-alist\n"
@@ -2837,7 +2839,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1378
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1379
#, no-wrap
msgid ""
"(defun font-lock-auto-mode-select ()\n"
@@ -2850,13 +2852,13 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1380
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1381
#, no-wrap
msgid "(global-set-key [M-f1] 'font-lock-fontify-buffer)\n"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1397
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1398
#, no-wrap
msgid ""
";; New dabbrev stuff\n"
@@ -2878,7 +2880,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1409
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1410
#, no-wrap
msgid ""
";; C++ and C mode...\n"
@@ -2895,7 +2897,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1423
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1424
#, no-wrap
msgid ""
"(defun my-c-mode-hook ()\n"
@@ -2914,7 +2916,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1430
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1431
#, no-wrap
msgid ""
";; Perl mode\n"
@@ -2926,7 +2928,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1434
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1435
#, no-wrap
msgid ""
";; Scheme mode...\n"
@@ -2935,7 +2937,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1440
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1441
#, no-wrap
msgid ""
";; Emacs-Lisp mode...\n"
@@ -2946,7 +2948,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1448
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1449
#, no-wrap
msgid ""
";; Add all of the hooks...\n"
@@ -2959,7 +2961,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1454
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1455
#, no-wrap
msgid ""
";; Complement to next-error\n"
@@ -2970,7 +2972,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1467
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1468
#, no-wrap
msgid ""
";; Misc...\n"
@@ -2988,7 +2990,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1473
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1474
#, no-wrap
msgid ""
";; Elisp archive searching\n"
@@ -2999,7 +3001,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1482
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1483
#, no-wrap
msgid ""
";; Font lock mode\n"
@@ -3013,7 +3015,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1495
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1496
#, no-wrap
msgid ""
"(if (eq window-system 'x)\n"
@@ -3031,7 +3033,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1503
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1504
#, no-wrap
msgid ""
" (setq baud-rate 1000000)\n"
@@ -3044,7 +3046,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1520
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1521
#, no-wrap
msgid ""
";; X11 or PC using direct screen writes\n"
@@ -3066,7 +3068,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1529
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1530
#, no-wrap
msgid ""
";; TTY type terminal\n"
@@ -3080,7 +3082,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1535
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1536
#, no-wrap
msgid ""
";; Under UNIX\n"
@@ -3091,7 +3093,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1543
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1544
#, no-wrap
msgid ""
";; Add any face changes here\n"
@@ -3104,7 +3106,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1549
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1550
#, no-wrap
msgid ""
";; Restore the \"desktop\" - do this as late as possible\n"
@@ -3115,7 +3117,7 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1552
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1553
#, no-wrap
msgid ""
";; Indicate that this file has been read at least once\n"
@@ -3123,19 +3125,19 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1554
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1555
#, no-wrap
msgid ";; No need to debug anything now\n"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1556
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1557
#, no-wrap
msgid "(setq debug-on-error nil)\n"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1559
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1560
#, no-wrap
msgid ""
";; All done\n"
@@ -3143,13 +3145,13 @@ msgid ""
msgstr ""
#. type: Title ===
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1562
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1563
#, no-wrap
msgid "Extending the Range of Languages Emacs Understands"
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1565
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1566
msgid ""
"Now, this is all very well if you only want to program in the languages "
"already catered for in [.filename]#.emacs# (C, C++, Perl, Lisp and Scheme), "
@@ -3158,7 +3160,7 @@ msgid ""
msgstr ""
#. type: delimited block = 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1569
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1570
msgid ""
"The first thing to do is find out if whizbang comes with any files that tell "
"Emacs about the language. These usually end in [.filename]#.el#, short for "
@@ -3167,42 +3169,42 @@ msgid ""
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1573
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1574
#, no-wrap
msgid "% find /usr/ports/lang/whizbang -name \"*.el\" -print\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1577
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1578
msgid ""
"and install them by copying them into the Emacs site Lisp directory. On "
"FreeBSD, this is [.filename]#/usr/local/share/emacs/site-lisp#."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1579
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1580
msgid "So for example, if the output from the find command was"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1583
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1584
#, no-wrap
msgid "/usr/ports/lang/whizbang/work/misc/whizbang.el\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1586
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1587
msgid "we would do"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1590
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1591
#, no-wrap
msgid "# cp /usr/ports/lang/whizbang/work/misc/whizbang.el /usr/local/share/emacs/site-lisp\n"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1595
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1596
msgid ""
"Next, we need to decide what extension whizbang source files have. Let us "
"say for the sake of argument that they all end in [.filename]#.wiz#. We "
@@ -3211,14 +3213,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1597
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1598
msgid ""
"Find the auto-mode-alist entry in [.filename]#.emacs# and add a line for "
"whizbang, such as:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1605
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1606
#, no-wrap
msgid ""
"...\n"
@@ -3229,21 +3231,21 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1608
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1609
msgid ""
"This means that Emacs will automatically go into `whizbang-mode` when you "
"edit a file ending in [.filename]#.wiz#."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1611
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1612
msgid ""
"Just below this, you will find the font-lock-auto-mode-list entry. Add "
"`whizbang-mode` to it like so:"
msgstr ""
#. type: delimited block . 4
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1618
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1619
#, no-wrap
msgid ""
";; Auto font lock mode\n"
@@ -3253,14 +3255,14 @@ msgid ""
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1621
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1622
msgid ""
"This means that Emacs will always enable `font-lock-mode` (ie syntax "
"highlighting) when editing a [.filename]#.wiz# file."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1624
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1625
msgid ""
"And that is all that is needed. If there is anything else you want done "
"automatically when you open up [.filename]#.wiz#, you can add a `whizbang-"
@@ -3269,66 +3271,66 @@ msgid ""
msgstr ""
#. type: Title ==
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1626
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1627
#, no-wrap
msgid "Further Reading"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1629
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1630
msgid ""
"For information about setting up a development environment for contributing "
"fixes to FreeBSD itself, please see man:development[7]."
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1631
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1632
msgid ""
"Brian Harvey and Matthew Wright _Simply Scheme_ MIT 1994. ISBN 0-262-08226-8"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1632
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1633
msgid "Randall Schwartz _Learning Perl_ O'Reilly 1993 ISBN 1-56592-042-2"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1633
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1634
msgid ""
"Patrick Henry Winston and Berthold Klaus Paul Horn _Lisp (3rd Edition)_ "
"Addison-Wesley 1989 ISBN 0-201-08319-1"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1634
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1635
msgid ""
"Brian W. Kernighan and Rob Pike _The Unix Programming Environment_ Prentice-"
"Hall 1984 ISBN 0-13-937681-X"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1635
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1636
msgid ""
"Brian W. Kernighan and Dennis M. Ritchie _The C Programming Language (2nd "
"Edition)_ Prentice-Hall 1988 ISBN 0-13-110362-8"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1636
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1637
msgid ""
"Bjarne Stroustrup _The C++ Programming Language_ Addison-Wesley 1991 ISBN "
"0-201-53992-6"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1637
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1638
msgid ""
"W. Richard Stevens _Advanced Programming in the Unix Environment_ Addison-"
"Wesley 1992 ISBN 0-201-56317-7"
msgstr ""
#. type: Plain text
-#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1637
+#: documentation/content/en/books/developers-handbook/tools/_index.adoc:1638
msgid ""
"W. Richard Stevens _Unix Network Programming_ Prentice-Hall 1990 ISBN "
"0-13-949876-1"