changes from Minh Tran-Le <TRANLE@INTELLICORP.COM> to support i386
[deliverable/binutils-gdb.git] / cfg-paper.texi
CommitLineData
7d283cc1
RP
1\input texinfo @c -*-para-*-
2@c %**start of header
3@setfilename cfg-paper.info
4@settitle On Configuring Development Tools
5@c %**end of header
6@setchapternewpage off
7
ad659e07
RP
8@ifinfo
9This document attempts to describe the general concepts behind
10configuration of the Cygnus Support release of the @sc{gnu} Development
11Tools. It also discusses common usage..
12
13Copyright (C) 1991 Cygnus Support
14Permission is granted to make and distribute verbatim copies of
15this manual provided the copyright notice and this permission notice
16are preserved on all copies.
17
18@ignore
19Permission is granted to process this file through TeX and print the
20results, provided the printed document carries copying permission
21notice identical to this one except for the removal of this paragraph
22(this paragraph not being relevant to the printed manual).
23
24@end ignore
25Permission is granted to copy and distribute modified versions of this
26manual under the conditions for verbatim copying, provided that the entire
27resulting derived work is distributed under the terms of a permission
28notice identical to this one.
29
30Permission is granted to copy and distribute translations of this manual
31into another language, under the above conditions for modified versions,
32except that this permission notice may be stated in a translation approved
33by Cygnus Support.
34@end ifinfo
35
7d283cc1
RP
36@titlepage
37@sp 10
38@title{On Configuring Development Tools}
0065bc39 39@author{K. Richard Pixley, @code{rich@@cygnus.com}}
7d283cc1 40@author{Cygnus Support}
ad659e07 41@page
0065bc39 42
7d283cc1
RP
43@vskip 0pt plus 1filll
44Copyright @copyright{} 1991 Cygnus Support
7d283cc1 45
ad659e07
RP
46Permission is granted to make and distribute verbatim copies of
47this manual provided the copyright notice and this permission notice
48are preserved on all copies.
7d283cc1 49
ad659e07
RP
50Permission is granted to copy and distribute modified versions of this
51manual under the conditions for verbatim copying, provided that the entire
52resulting derived work is distributed under the terms of a permission
53notice identical to this one.
54
55Permission is granted to copy and distribute translations of this manual
56into another language, under the above conditions for modified versions,
57except that this permission notice may be stated in a translation approved
58by Cygnus Support.
59@end titlepage
7d283cc1 60
12682548
RP
61@ifinfo
62@format
63START-INFO-DIR-ENTRY
64* configuration: (cfg-paper.info). Some theory on configuring source.
65END-INFO-DIR-ENTRY
66@end format
67@end ifinfo
68
7d283cc1
RP
69@node top, Some Basic Terms, (dir), (dir)
70
71@ifinfo
72This document attempts to describe the general concepts behind
73configuration of the Cygnus Support release of the @sc{gnu} Development
74Tools. It also discusses common usage.
75@end ifinfo
76
77@menu
78* Some Basic Terms:: Some Basic Terms
79* Specifics.:: Specifics
80* Building Development Environments:: Building Development Environments
81* A Walk Through:: A Walk Through
82* Final Notes:: Final Notes
83* Index:: Index
90f66196
RP
84
85 --- The Detailed Node Listing ---
86
87Some Basic Terms
88
89* Host Environments:: Host Environments
90* Configuration Time Options:: Configuration Time Options
91
92A Walk Through
93
94* Native Development Environments:: Native Development Environments
95* Emulation Environments:: Emulation Environments
96* Simple Cross Environments:: Simple Cross Environments
97* Crossing Into Targets:: Crossing Into Targets
98* Canadian Cross:: Canadian Cross
99
100Final Notes
101
102* Hacking Configurations:: Hacking Configurations
7d283cc1
RP
103@end menu
104
105@node Some Basic Terms, Specifics., top, top
106@chapter Some Basic Terms
107
108There are a lot of terms that are frequently used when discussing
109development tools. Most of the common terms have been used for many
110different concepts such that their meanings have become ambiguous to the
111point of being confusing. Typically, we only guess at their meanings
112from context and we frequently guess wrong.
113
114This document uses very few terms by comparison. The intent is to make
115the concepts as clear as possible in order to convey the usage and
116intent of these tools.
117
118@emph{Programs} run on @emph{machines}. Programs are very nearly always
119written in @emph{source}. Programs are @emph{built} from source.
120@emph{Compilation} is a process that is frequently, but not always, used
121when building programs.
122@cindex Programs
123@cindex Machines
124@cindex Source
125@cindex Building
126@cindex Compilation
127
128@menu
129* Host Environments:: Host Environments
130* Configuration Time Options:: Configuration Time Options
131@end menu
132
133@node Host Environments, Configuration Time Options, Some Basic Terms, Some Basic Terms
134@section Host Environments
135
136@cindex host
137In this document, the word @emph{host} refers to the environment in
138which the source in question will be compiled. @emph{host} and
139@emph{host name} have nothing to do with the proper name of your host,
140like @emph{ucbvax}, @emph{prep.ai.mit.edu} or @emph{att.com}. Instead
141they refer to things like @emph{sun4} and @emph{dec3100}.
142
143Forget for a moment that this particular directory of source is the
144source for a development environment. Instead, pretend that it is the
145source for a simpler, more mundane, application, say, a desk calculator.
146
147Source that can be compiled in more than one environment, generally
148needs to be set up for each environment explicitly. Here we refer to
149that process as configuration. That is, we configure the source for a
150host.
151
152For example, if we wanted to configure our mythical desk calculator to
153compile on a SparcStation, we might configure for host sun4. With our
154configuration system:
155
156@example
157cd desk-calculator ; ./configure sun4
158@end example
159
160@noindent
161does the trick. @code{configure} is a shell script that sets up Makefiles,
162subdirectories, and symbolic links appropriate for compiling the source
163on a sun4.
164
165The @emph{host} environment does not necessarily refer to the machine on
166which the tools are built. It is possible to provide a sun3 development
167environment on a sun4. If we wanted to use a cross compiler on the sun4
168to build a program intended to be run on a sun3, we would configure the
169source for sun3.
170
171@example
172cd desk-calculator ; ./configure sun3
173@end example
174
175@noindent
176The fact that we are actually building the program on a sun4 makes no
177difference if the sun3 cross compiler presents an environment that looks
178like a sun3 from the point of view of the desk calculator source code.
179Specifically, the environment is a sun3 environment if the header files,
180predefined symbols, and libraries appear as they do on a sun3.
181
182Nor does the host environment refer to the the machine on which the
183program to be built will run. It is possible to provide a sun3
184emulation environment on a sun4 such that programs built in a sun3
185development environment actually run on the sun4. This technique is
186often used within individual programs to remedy deficiencies in the host
187operating system. For example, some operating systems do not provide
62ddb92b
RP
188the @code{bcopy} function and so it is emulated using the
189@code{memcpy} funtion.
7d283cc1
RP
190
191Host environment simply refers to the environment in which the program
192will be built from the source.
193
194
195@node Configuration Time Options, , Host Environments, Some Basic Terms
196@section Configuration Time Options
197
198Many programs have compile time options. That is, features of the
199program that are either compiled into the program or not based on a
200choice made by the person who builds the program. We refer to these as
201@emph{configuration options}. For example, our desk calculator might be
202capable of being compiled into a program that either uses infix notation
203or postfix as a configuration option. For a sun3, to choose infix you
204might use:
205
206@example
207./configure sun3 -notation=infix
208@end example
209
210@noindent
211while for a sun4 with postfix you might use:
212
213@example
214./configure sun4 -notation=postfix
215@end example
216
217If we wanted to build both at the same time, in the same directory
218structure, the intermediate pieces used in the build process must be
219kept separate.
220
221@example
222./configure sun4 -subdirs -notation=postfix
223./configure sun3 -subdirs -notation=infix
224@end example
225
226@noindent
227will create subdirectories for the intermediate pieces of the sun4 and
228sun3 configurations. This is necessary as previous systems were only
229capable of one configuration at a time. Otherwise, a second
230configuration would write over the first. We've chosen to retain this
231behaviour so the @code{-subdirs} configuration option is necessary to
232get the new behaviour. The order of the arguments doesn't matter.
62ddb92b 233There should be exactly one argument without a leading @samp{-} sign
7d283cc1
RP
234and that argument will be assumed to be the host name.
235
236From here on the examples will assume that you want to build the tools
237@emph{in place} and won't show the @code{-subdirs} option, but remember
238that it is available.
239
240In order to actually install the program, the configuration system needs
241to know where you would like the program installed. The default
242location is @file{/usr/local}. We refer to this location as
243@code{$(prefix)}. All user visible programs will be installed in
244@file{@code{$(prefix)}/bin}. All other programs and files will be
245installed in a subdirectory of @file{@code{$(prefix)}/lib}.
246
247NOTE: @code{$(prefix)} was previously known as @code{$(destdir)}.
248
249You can elect to change @code{$(prefix)} only as a configuration time
250option.
251
252@example
253./configure sun4 -notation=postfix -prefix=/local
254@end example
255
256@noindent
257Will configure the source such that:
258
259@example
260make install
261@end example
262
263@noindent
264will put it's programs in @file{/local/bin} and @file{/local/lib/gcc}.
265If you change @code{$(prefix)} after building the source, you will need
266to:
267
268@example
269make clean
270@end example
271
272@noindent
273before the change will be propogated properly. This is because some
274tools need to know the locations of other tools.
275
276With these concepts in mind, we can drop the desk calculator example and
277move on to the application that resides in these directories, namely,
278the source to a development environment.
279
280@node Specifics., Building Development Environments, Some Basic Terms, top
281@chapter Specifics
282
283The @sc{gnu} Development Tools can be built on a wide variety of hosts. So,
284of course, they must be configured. Like the last example,
285
286@example
287./configure sun4 -prefix=/local
288./configure sun3 -prefix=/local
289@end example
290
291@noindent
292will configure the source to be built in subdirectories, in order to
293keep the intermediate pieces separate, and to be installed in
294@file{/local}.
295
296When built with suitable development environments, these will be native
297tools. We'll explain the term @emph{native} later.
298
299@node Building Development Environments, A Walk Through, Specifics., top
300@chapter Building Development Environments
301
302@cindex Target
303
304The Cygnus Support @sc{gnu} development tools can not only be built in a
305number of host development environments, they can also be configured to
306create a number of different development environments on each of those
307hosts. We refer to a specific development environment created as a
308@emph{target}. That is, the word @emph{target} refers to the development
309environment produced by compiling this source and installing the
310resulting programs.
311
312For the Cygnus Support @sc{gnu} development tools, the default target is the
313same as the host. That is, the development environment produced is
314intended to be compatible with the environment used to build the tools.
315
316In the example above, we created two configurations, one for sun4 and
317one for sun3. The first configuration is expecting to be built in a
318sun4 development environment, to create a sun4 development environment.
319It doesn't necessarily need to be built on a sun4 if a sun4 development
320environment is available elsewhere. Likewise, if the available sun4
321development environment produces executables intended for something
322other than sun4, then the development environment built from this sun4
323configuration will run on something other than a sun4. From the point
324of view of the configuration system and the @sc{gnu} development tools
325source, this doesn't matter. What matters is that they will be built in
326a sun4 environment.
327
328Similarly, the second configuration given above is expecting to be built
329in a sun3 development environment, to create a sun3 development
330environment.
331
332The development environment produced, is a configuration time option,
333just like @code{$(prefix)}.
334
335@example
336./configure sun4 -prefix=/local -target=sun3
337./configure sun3 -prefix=/local -target=sun4
338@end example
339
340In this example, like before, we create two configurations. The first
341is intended to be built in a sun4 environment, in subdirectories, to be
342installed in @file{/local}. The second is intended to be built in a
343sun3 environment, in subdirectories, to be installed in @file{/local}.
344
345Unlike the previous example, the first configuration will produce a sun3
346development environment, perhaps even suitable for building the second
347configuration. Likewise, the second configuration will produce a sun4
348development environment, perhaps even suitable for building the first
349configuration.
350
351The development environment used to build these configurations will
352determine the machines on which the resulting development environments
353can be used.
354
355
356@node A Walk Through, Final Notes, Building Development Environments, top
357@chapter A Walk Through
358
359
360@menu
361* Native Development Environments:: Native Development Environments
362* Emulation Environments:: Emulation Environments
363* Simple Cross Environments:: Simple Cross Environments
364* Crossing Into Targets:: Crossing Into Targets
90f66196 365* Canadian Cross:: Canadian Cross
7d283cc1
RP
366@end menu
367
368@node Native Development Environments, Emulation Environments, A Walk Through, A Walk Through
369@section Native Development Environments
370
371Let us assume for a moment that you have a sun4 and that with your sun4
372you received a development environment. This development environment is
373intended to be run on your sun4 to build programs that can be run on
374your sun4. You could, for instance, run this development environment on
375your sun4 to build our example desk calculator program. You could then
376run the desk calculator program on your sun4.
377
378@cindex Native
379@cindex Foreign
380The resulting desk calculator program is referred to as a @emph{native}
381program. The development environment itself is composed of native
382programs that, when run, build other native programs. Any other program
383is referred to as @emph{foreign}. Programs intended for other machines are
384foreign programs.
385
386This type of development environment, which is by far the most common,
387is refered to as @emph{native}. That is, a native development environment
388runs on some machine to build programs for that same machine. The
389process of using a native development environment to build native
390programs is called a @emph{native} build.
391
392@example
393./configure sun4
394@end example
395
396@noindent
397will configure this source such that when built in a sun4 development
398environment, with a development environment that builds programs
399intended to be run on sun4 machines, the programs built will be native
400programs and the resulting development environment will be a native
401development environment.
402
403The development system that came with your sun4 is one such environment.
404Using it to build the @sc{gnu} Development Tools is a very common activity
405and the resulting development environment is quite popular.
406
407@example
408make all
409@end example
410
411@noindent
412will build the tools as configured and will assume that you want to use
413the native development environment that came with your machine.
414
415@cindex Bootstrapping
416@cindex Stage1
417Using a development environment to build a development environment is
418called @emph{bootstrapping}. The Cygnus Support release of the @sc{gnu}
419Development Tools is capable of bootstrapping itself. This is a very
420powerful feature that we'll return to later. For now, let's pretend
421that you used the native development environment that came with your
422sun4 to bootstrap the Cygnus Support release and let's call the new
423development environment @emph{stage1}.
424
62ddb92b
RP
425Why bother? Well, most people find that the @sc{gnu} development
426environment builds programs that run faster and take up less space than
427the native development environments that came with their machines. Some
428people didn't get development environments with their machines and some
429people just like using the @sc{gnu} tools better than using other tools.
7d283cc1
RP
430
431@cindex Stage2
432While you're at it, if the @sc{gnu} tools produce better programs, maybe you
433should use them to build the @sc{gnu} tools. It's a good idea, so let's
434pretend that you do. Let's call the new development environment
435@emph{stage2}.
436
437@cindex Stage3
438So far you've built a development environment, stage1, and you've used
439stage1 to build a new, faster and smaller development environment,
440stage2, but you haven't run any of the programs that the @sc{gnu} tools have
441built. You really don't yet know if these tools work. Do you have any
442programs built with the @sc{gnu} tools? Yes, you do. stage2. What does
443that program do? It builds programs. Ok, do you have any source handy
444to build into a program? Yes, you do. The @sc{gnu} tools themselves. In
445fact, if you use stage2 to build the @sc{gnu} tools again the resulting
446programs should be identical to stage2. Let's pretend that you do and
447call the new development environment @emph{stage3}.
448
449@cindex Three stage boot
450You've just completed what's called a @emph{three stage boot}. You now have
451a small, fast, somewhat tested, development environment.
452
453@example
454make bootstrap
455@end example
456
457@noindent
458will do a three stage boot across all tools and will compare stage2 to
459stage3 and complain if they are not identical.
460
461Once built,
462
463@example
464make install
465@end example
466
467@noindent
468will install the development environment in the default location or in
469@code{$(prefix)} if you specified an alternate when you configured.
470
471@cindex Cross
472Any development environment that is not a native development environment
473is refered to as a @emph{cross} development environment. There are many
474different types of cross development environments but most fall into one
475of three basic categories.
476
477
478@node Emulation Environments, Simple Cross Environments, Native Development Environments, A Walk Through
479@section Emulation Environments
480
481@cindex Emulation
482The first category of cross development environment is called
483@emph{emulation}. There are two primary types of emulation, but both
484types result in programs that run on the native host.
485
486@cindex Software emulation
487@cindex Software emulator
488The first type is @emph{software emulation}. This form of cross
489development environment involves a native program that when run on the
490native host, is capable of interpreting, and in most aspects running, a
491program intended for some other machine. This technique is typically
492used when the other machine is either too expensive, too slow, too fast,
493or not available, perhaps because it hasn't yet been built. The native,
494interpreting program is called a @emph{software emulator}.
495
496The @sc{gnu} Development Tools do not currently include any software
497emulators. Some do exist and the @sc{gnu} Development Tools can be
498configured to create simple cross development environments for with
499these emulators. More on this later.
500
501The second type of emulation is when source intended for some other
502development environment is built into a program intended for the native
503host. The concepts of operating system universes and hosted operating
504systems are two such development environments.
505
506The Cygnus Support Release of the @sc{gnu} Development Tools can be
507configured for one such emulation at this time.
508
509@example
510./configure sun4 -ansi
511@end example
512
513@cindex ANSI
514@cindex X3J11
515@noindent
516will configure the source such that when built in a sun4 development
517environment the resulting development environment is capable of building
518sun4 programs from strictly conforming @sc{ANSI X3J11 C} source.
519Remember that the environment used to build the tools determines the
520machine on which this tools will run, so the resulting programs aren't
521necessarily intended to run on a sun4, although they usually are. Also
522note that the source for the @sc{gnu} tools is not strictly conforming
523@sc{ansi} source so this configuration cannot be used to bootstrap the
524@sc{gnu} tools.
525
526
527@node Simple Cross Environments, Crossing Into Targets, Emulation Environments, A Walk Through
528@section Simple Cross Environments
529
530@example
531./configure sun4 -target=a29k
532@end example
533
534@noindent
535will configure the tools such that when compiled in a sun4 development
536environment the resulting development environment can be used to create
537programs intended for an a29k. Again, this does not necessarily mean
538that the new development environment can be run on a sun4. That would
539depend on the development environment used to build these tools.
540
541Earlier you saw how to configure the tools to build a native development
542environment, that is, a development environment that runs on your sun4
543and builds programs for your sun4. Let's pretend that you use stage3 to
544build this simple cross configuration and let's call the new development
545environment gcc-a29k. Remember that this is a native build. Gcc-a29k
546is a collection of native programs intended to run on your sun4. That's
547what stage3 builds, programs for your sun4. Gcc-a29k represents an a29k
548development environment that builds programs intended to run on an a29k.
549But, remember, gcc-a29k runs on your sun4. Programs built with gcc-a29k
550will run on your sun4 only with the help of an appropriate software
551emulator.
552
553@cindex Simple cross
554@cindex Crossing to
555Building gcc-a29k is also a bootstrap but of a slightly different sort.
556We call gcc-a29k a @emph{simple cross} environment and using gcc-a29k to
557build a program intended for a29k is called @emph{crossing to} a29k.
558Simple cross environments are the second category of cross development
559environments.
560
561
90f66196 562@node Crossing Into Targets, Canadian Cross, Simple Cross Environments, A Walk Through
7d283cc1
RP
563@section Crossing Into Targets
564
565@example
566./configure a29k -target=a29k
567@end example
568
569@noindent
570will configure the tools such that when compiled in an a29k development
571environment, the resulting development environment can be used to create
572programs intended for an a29k. Again, this does not necessarily mean
573that the new development environment can be run on an a29k. That would
574depend on the development environment used to build these tools.
575
576If you've been following along this walk through, then you've already
577built an a29k environment, namely gcc-a29k. Let's pretend you use
578gcc-a29k to build the current configuration.
579
580Gcc-a29k builds programs intended for the a29k so the new development
581environment will be intended for use on an a29k. That is, this new gcc
582consists of programs that are foreign to your sun4. They cannot be run
583on your sun4.
584
585@cindex Crossing into
586The process of building this configuration is another a bootstrap. This
587bootstrap is also a cross to a29k. Because this type of build is both a
588bootstrap and a cross to a29k, it is sometimes referred to as a
589@emph{cross into} a29k. This new development environment isn't really a
590cross development environment at all. It is intended to run on an a29k
591to produce programs for an a29k. You'll remember that this makes it, by
592definition, an a29k native compiler. @emph{Crossing into} has been
593introduced here not because it is a type of cross development
594environment, but because it is frequently mistaken as one. The process
595is @emph{a cross} but the resulting development environment is a native
596development environment.
597
598You could not have built this configuration with stage3, because stage3
599doesn't provide an a29k environment. Instead it provides a sun4
600environment.
601
602If you happen to have an a29k lying around, you could now use this fresh
603development environment on the a29k to three-stage these tools all over
604again. This process would look just like it did when we built the
605native sun4 development environment because we would be building another
606native development environment, this one on a29k.
607
608
90f66196
RP
609@node Canadian Cross, , Crossing Into Targets, A Walk Through
610@section Canadian Cross
7d283cc1
RP
611
612So far you've seen that our development environment source must be
613configured for a specific host and for a specific target. You've also
614seen that the resulting development environment depends on the
615development environment used in the build process.
616
617When all four match identically, that is, the configured host, the
618configured target, the environment presented by the development
619environment used in the build, and the machine on which the resulting
620development environment is intended to run, then the new development
621environment will be a native development environment.
622
623When all four match except the configured host, then we can assume that
624the development environment used in the build is some form of library
625emulation.
626
627When all four match except for the configured target, then the resulting
628development environment will be a simple cross development environment.
629
630When all four match except for the host on which the development
631environment used in the build runs, the build process is a @emph{cross into}
632and the resulting development environment will be native to some other
633machine.
634
635Most of the other permutations do exist in some form, but only one more
636is interesting to the current discussion.
637
638@example
639./configure a29k -target=sun3
640@end example
641
642@noindent
643will configure the tools such that when compiled in an a29k development
644environment, the resulting development environment can be used to create
645programs intended for a sun3. Again, this does not necessarily mean
646that the new development environment can be run on an a29k. That would
647depend on the development environment used to build these tools.
648
649If you are still following along, then you have two a29k development
650environments, the native development environment that runs on a29k, and
651the simple cross that runs on your sun4. If you use the a29k native
652development environment on the a29k, you will be doing the same thing we
653did a while back, namely building a simple cross from a29k to sun3.
654Let's pretend that instead, you use gcc-a29k, the simple cross
655development environment that runs on sun4 but produces programs for
656a29k.
657
658The resulting development environment will run on a29k because that's
659what gcc-a29k builds, a29k programs. This development environment will
660produce programs for a sun3 because that is how it was configured. This
661means that the resulting development environment is a simple cross.
662
90f66196 663@cindex Canadian Cross
7d283cc1
RP
664@cindex Three party cross
665There really isn't a common name for this process because very few
666development environments are capable of being configured this
667extensively. For the sake of discussion, let's call this process a
90f66196
RP
668@emph{Canadian cross}. It's a three party cross, Canada has a three
669party system, hence Canadian Cross.
7d283cc1
RP
670
671@node Final Notes, Index, A Walk Through, top
672@chapter Final Notes
673
674By @emph{configures}, I mean that links, Makefile, .gdbinit, and
675config.status are built. Configuration is always done from the source
676directory.
677
678@table @code
679
680@item ./configure @var{name}
681configures this directory, perhaps recursively, for a single host+target
682pair where the host and target are both @var{name}. If a previous
683configuration existed, it will be overwritten.
684
685@item ./configure @var{hostname} -target=@var{targetname}
686configures this directory, perhaps recursively, for a single host+target
687pair where the host is @var{hostname} and target is @var{targetname}.
688If a previous configuration existed, it will be overwritten.
689
690@item ./configure -subdirs @var{hostname} -target=@var{targetname}
691creates a subdirectories @file{H-@var{hostname}} if @var{hostname} is @var{targetname} or
692@file{X-@var{hostname}-@var{targetname}} if it is not and configures the new directory.
693
694@end table
695
696@menu
697* Hacking Configurations:: Hacking Configurations
698@end menu
699
700@node Hacking Configurations, , Final Notes, Final Notes
701@section Hacking Configurations
702
703The configure scripts essentially do three things, create subdirectories
704if appropriate, build a @file{Makefile}, and create links to files, all
705based on and tailored to, a specific host+target pair. The scripts also
706create a @file{.gdbinit} if appropriate but this is not tailored.
707
708The Makefile is created by prepending some variable definitions to a
709Makefile template called @file{Makefile.in} and then inserting host and
710target specific Makefile fragments. The variables are set based on the
711chosen host+target pair and build style, that is, if you use
712subdirectories or not. The host and target specific Makefile may or may
713not exist.
714
715@itemize @bullet
716
717@item
718Makefiles can be edited directly, but those changes will eventually be
719lost. Changes intended to be permanent for a specific host should be
720made to the host specific Makefile fragment. This should be in
721@file{./config/mh-@var{host}} if it exists. Changes intended to be
722permanent for a specific target should be made to the target specific
723Makefile fragment. This should be in @file{./config/mt-@var{target}} if
724it exists. Changes intended to be permanent for the directory should be
725made in @file{Makefile.in}. To propogate changes to any of these,
726either use @code{make Makefile} or @code{./config.status} or
727re-configure.
728
729@end itemize
730
731@page
732@node Index, , Final Notes, top
733@appendix Index
734
735@printindex cp
736
737@contents
738@bye
739
740@c Local Variables:
741@c fill-column: 72
742@c End:
This page took 0.051412 seconds and 4 git commands to generate.