Errata

Programming with GNU Software

Errata for Programming with GNU Software

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
installation script

If you install your software into the directory /usr/cygnus, as
recommended in the install script, you have to perform some extra tasks not
mentioned there. This is due to a bug in the script, which does not install
the software where the binaries expect it to be.

Contrary to what the script and the README file say, you need to set the
environment variable GCC_EXEC_PREFIX so the gcc compiler finds
subordinate programs like cpp. Also, you have to create a symbolic
link to let Emacs find its Lisp files. These tasks are described in detail
below.

To set GCC_EXEC_PREFIX, check where the directory gcc-lib is after
installation. It will be in a directory of the form:

/usr/cygnus/platform/lib/gcc-lib/

where platform is one of the following, depending on your operating
system:


OS platform

Solaris 2.x H-sparc-sun-solaris2
SunOS 4.1.x H-sparc-sun-sunos4.1.4
Digital UNIX H-alpha-dec-osf2.0
HP-UX H-hppa1.1-hp-hpux9
SGI Irix H-mips-sgi-irix5
IBM AIX H-rs6000-ibm-aix3.2.5

Set GCC_EXEC_PREFIX through one of the following commands. Remember to
include the slash at the end of the pathname. For Bourne shells:

GCC_EXEC_PREFIX=/usr/cygnus/platform/lib/gcc-lib/
export GCC_EXEC_PREFIX

For C shells:

setenv GCC_EXEC_PREFIX /usr/cygnus/platform/lib/gcc-lib/

The other task you have to do is create a symbolic link to the location of
the files used by Emacs. Execute the following command as system
administrator (root):

ln -s /usr/cygnus /usr/cygnus/progressive-95q4

Anonymous  Jan 18, 2011 
Printed
Page x
para.2, line 3

changed "Berkeley Standard" to "Berkeley Software"

Anonymous    Jan 01, 1998
Printed
Page 75
1st line

changed "C-x 5" to "C-x 3"

Anonymous    Jan 01, 1998
Printed
Page 173

Line 13 read:

gcc -o stimulate.do -c -DDEBUG -g inputs.c

It now reads:

gcc -o inputs.do -c -DDEBUG -g inputs.c

Line 15 read:

gcc -o stimulate.do -c -DDEBUG -g outputs.c

It now reads:

gcc -o outputs.do -c -DDEBUG -g outputs.c

Anonymous    Jan 01, 2000
Printed
Page 177

The code used to read:

gcc -c program.o -w -O program.c
and

gcc -c other.o -w -O other.c

It now reads:

gcc -c -o program.o -w -O program.c
and

gcc -c -o other.o -w -O other.c

Anonymous    Jul 01, 2000
Printed
Page 246
added the following to the last para.

Whenever possible, our books use RepKover (tm), a durable and flexible
lay-flat binding. If the page count exceeds RepKover's limit, perfect
binding is used.

Anonymous    Jan 01, 1998