diff options
author | K. Richard Pixley <rich@cygnus> | 1992-03-08 07:47:55 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1992-03-08 07:47:55 +0000 |
commit | 787c6bfe7021f84607854e45e1f7297e957a1094 (patch) | |
tree | 07f9d37129cba4a284ef8ea3ecc8102827c29b0c /cfg-paper.texi | |
parent | 335413d8ea92576b763a43a1fde95c25eaa5e231 (diff) | |
download | gdb-787c6bfe7021f84607854e45e1f7297e957a1094.zip gdb-787c6bfe7021f84607854e45e1f7297e957a1094.tar.gz gdb-787c6bfe7021f84607854e45e1f7297e957a1094.tar.bz2 |
This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier. These are Makefiles relevant to the progressive
release currently in progress.
* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
hosts or targets.
Diffstat (limited to 'cfg-paper.texi')
-rw-r--r-- | cfg-paper.texi | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/cfg-paper.texi b/cfg-paper.texi index 2979d79..45f91c5 100644 --- a/cfg-paper.texi +++ b/cfg-paper.texi @@ -10,7 +10,7 @@ This document attempts to describe the general concepts behind configuration of the Cygnus Support release of the @sc{gnu} Development Tools. It also discusses common usage.. -Copyright (C) 1991 Cygnus Support +Copyright (C) 1991, 1992 Cygnus Support Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. @@ -41,7 +41,7 @@ by Cygnus Support. @page @vskip 0pt plus 1filll -Copyright @copyright{} 1991 Cygnus Support +Copyright @copyright{} 1991, 1992 Cygnus Support Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice @@ -214,13 +214,14 @@ while for a sun4 with postfix you might use: ./configure sun4 -notation=postfix @end example -If we wanted to build both at the same time, in the same directory -structure, the intermediate pieces used in the build process must be -kept separate. +If we wanted to build both at the same time, the intermediate pieces +used in the build process must be kept separate. @example -./configure sun4 -subdirs -notation=postfix -./configure sun3 -subdirs -notation=infix +mkdir ../objdir.sun4 +(cd ../objdir.sun4 ; ./configure sun4 -notation=postfix -srcdir=../src) +mkdir ../objdir.sun3 +(cd ../objdir.sun3 ; ./configure sun3 -notation=infix -srcdir=../src) @end example @noindent @@ -228,13 +229,14 @@ will create subdirectories for the intermediate pieces of the sun4 and sun3 configurations. This is necessary as previous systems were only capable of one configuration at a time. Otherwise, a second configuration would write over the first. We've chosen to retain this -behaviour so the @code{-subdirs} configuration option is necessary to -get the new behaviour. The order of the arguments doesn't matter. -There should be exactly one argument without a leading @samp{-} sign -and that argument will be assumed to be the host name. +behaviour so the obj directories and the @code{-srcdir} configuration +option are necessary to get the new behaviour. The order of the +arguments doesn't matter. There should be exactly one argument without +a leading @samp{-} sign and that argument will be assumed to be the host +name. From here on the examples will assume that you want to build the tools -@emph{in place} and won't show the @code{-subdirs} option, but remember +@emph{in place} and won't show the @code{-srcdir} option, but remember that it is available. In order to actually install the program, the configuration system needs @@ -687,10 +689,6 @@ configures this directory, perhaps recursively, for a single host+target pair where the host is @var{hostname} and target is @var{targetname}. If a previous configuration existed, it will be overwritten. -@item ./configure -subdirs @var{hostname} -target=@var{targetname} -creates a subdirectories @file{H-@var{hostname}} if @var{hostname} is @var{targetname} or -@file{X-@var{hostname}-@var{targetname}} if it is not and configures the new directory. - @end table @menu @@ -709,7 +707,7 @@ The Makefile is created by prepending some variable definitions to a Makefile template called @file{Makefile.in} and then inserting host and target specific Makefile fragments. The variables are set based on the chosen host+target pair and build style, that is, if you use -subdirectories or not. The host and target specific Makefile may or may +@code{-srcdir} or not. The host and target specific Makefile may or may not exist. @itemize @bullet |