diff options
author | Tom Lane | 2003-10-23 13:58:43 +0000 |
---|---|---|
committer | Tom Lane | 2003-10-23 13:58:43 +0000 |
commit | 747df1a35e5f9997e8d61a5d8bc3e0c62dbddb60 (patch) | |
tree | 371450dc8ee620cb8b6825225a9735d5afb820af | |
parent | cdbf9b328ef3a917b1bd065c74db1f4015b1c822 (diff) |
Remove obsolete information about altering default optimization flags for
gcc. Per comment from original author, Brian Gallew:
"Ancient history. Kill it fast."
-rw-r--r-- | doc/src/sgml/compiler.sgml | 77 | ||||
-rw-r--r-- | doc/src/sgml/filelist.sgml | 3 | ||||
-rw-r--r-- | doc/src/sgml/postgres.sgml | 3 |
3 files changed, 2 insertions, 81 deletions
diff --git a/doc/src/sgml/compiler.sgml b/doc/src/sgml/compiler.sgml deleted file mode 100644 index b7c99f6d7a1..00000000000 --- a/doc/src/sgml/compiler.sgml +++ /dev/null @@ -1,77 +0,0 @@ -<Chapter Id="compiler"> -<DocInfo> -<AuthorGroup> -<Author> -<FirstName>Brian</FirstName> -<Surname>Gallew</Surname> -</Author> -</AuthorGroup> -<Date>Transcribed 1998-02-12</Date> -</DocInfo> - -<Title><application>gcc</application> Default Optimizations</Title> - -<Para> -<Note> -<Para> -Contributed by Brian Gallew (<email>[email protected]</email>) -</Para> -</Note> -</para> - -<Para> -Configuring gcc to use certain flags by default is a simple matter of -editing the -<FileName>/usr/local/lib/gcc-lib/<Replaceable>platform</Replaceable>/<Replaceable>version</Replaceable>/specs</FileName> -file. -The format of this file pretty simple. The file is broken into -sections, each of which is three lines long. The first line is -"*<Replaceable>section_name</Replaceable>:" (e.g. "*asm:"). -The second line is a list of flags, -and the third line is blank. -</para> - -<Para> -The easiest change to make is to append -the desired default flags to the list in the appropriate section. As -an example, let's suppose that I have linux running on a '486 with gcc -2.7.2 installed in the default location. In the file -/usr/local/lib/gcc-lib/i486-linux/2.7.2/specs, 13 lines down I find -the following section: -<ProgramListing> -- ----------SECTION---------- -*cc1: - - -- ----------SECTION---------- -</ProgramListing> -As you can see, there aren't any default flags. If I always wanted -compiles of C code to use "-m486 -fomit-frame-pointer", I would -change it to look like: -<ProgramListing> -- ----------SECTION---------- -*cc1: -- -m486 -fomit-frame-pointer - -- ----------SECTION---------- -</ProgramListing> -If I wanted to be able to generate 386 code for another, older linux -box lying around, I'd have to make it look like this: -<ProgramListing> -- ----------SECTION---------- -*cc1: -%{!m386:-m486} -fomit-frame-pointer - -- ----------SECTION---------- -</ProgramListing> -This will always omit frame pointers, any will build 486-optimized -code unless -m386 is specified on the command line. -</para> - -<Para> -You can actually do quite a lot of customization with the specs file. -Always remember, however, that these changes are global, and affect -all users of the system. -</para> - -</Chapter> diff --git a/doc/src/sgml/filelist.sgml b/doc/src/sgml/filelist.sgml index be7050c5c82..23b51ca6a5a 100644 --- a/doc/src/sgml/filelist.sgml +++ b/doc/src/sgml/filelist.sgml @@ -1,4 +1,4 @@ -<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.32 2003/10/22 22:28:10 tgl Exp $ --> +<!-- $Header: /cvsroot/pgsql/doc/src/sgml/filelist.sgml,v 1.33 2003/10/23 13:58:43 tgl Exp $ --> <!entity history SYSTEM "history.sgml"> <!entity info SYSTEM "info.sgml"> @@ -77,7 +77,6 @@ <!entity arch-dev SYSTEM "arch-dev.sgml"> <!entity bki SYSTEM "bki.sgml"> <!entity catalogs SYSTEM "catalogs.sgml"> -<!entity compiler SYSTEM "compiler.sgml"> <!entity geqo SYSTEM "geqo.sgml"> <!entity gist SYSTEM "gist.sgml"> <!entity indexcost SYSTEM "indexcost.sgml"> diff --git a/doc/src/sgml/postgres.sgml b/doc/src/sgml/postgres.sgml index 80cb8ecef54..3059c63c97a 100644 --- a/doc/src/sgml/postgres.sgml +++ b/doc/src/sgml/postgres.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.58 2003/10/22 22:28:10 tgl Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.59 2003/10/23 13:58:43 tgl Exp $ --> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V3.1//EN" [ @@ -239,7 +239,6 @@ $Header: /cvsroot/pgsql/doc/src/sgml/postgres.sgml,v 1.58 2003/10/22 22:28:10 tg &gist; &page; &bki; - &compiler; </part> |