[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] proposed automake.texi patch for "How the Linker is Chosen"
From: |
Adrian Bunk |
Subject: |
[patch] proposed automake.texi patch for "How the Linker is Chosen" |
Date: |
Wed, 19 Jan 2005 14:28:14 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
Hi,
IMHO the big diagram in "How the Linker is Chosen" of automake.texi is
harder to understand than simply writing the rules behind.
The proposed patch below tries this.
cu
Adrian
--- doc/automake.texi.old 2005-01-19 14:16:44.000000000 +0100
+++ doc/automake.texi 2005-01-19 14:24:29.000000000 +0100
@@ -4290,50 +4290,15 @@
@cindex Automatic linker selection
@cindex Selecting the linker automatically
-The following diagram demonstrates under what conditions a particular
-linker is chosen by Automake.
-
-For example, if Fortran 77, C and C++ source code were to be compiled
-into a program, then the C++ linker will be used. In this case, if the
+If C++ source code is compiled with C and/or Fortran 77 source code
+into a program, the C++ linker will be used. In this case, if the
C or Fortran 77 linkers required any special libraries that weren't
included by the C++ linker, then they must be manually added to an
@code{_LDADD} or @code{_LIBADD} variable by the user writing the
@file{Makefile.am}.
address@hidden
- \ Linker
- source \
- code \ C C++ Fortran
- ----------------- +---------+---------+---------+
- | | | |
- C | x | | |
- | | | |
- +---------+---------+---------+
- | | | |
- C++ | | x | |
- | | | |
- +---------+---------+---------+
- | | | |
- Fortran | | | x |
- | | | |
- +---------+---------+---------+
- | | | |
- C + C++ | | x | |
- | | | |
- +---------+---------+---------+
- | | | |
- C + Fortran | | | x |
- | | | |
- +---------+---------+---------+
- | | | |
- C++ + Fortran | | x | |
- | | | |
- +---------+---------+---------+
- | | | |
- C + C++ + Fortran | | x | |
- | | | |
- +---------+---------+---------+
address@hidden example
+If Fortran 77 source code is compiled with C source code
+into a program, the Fortran 77 linker will be used.
@node Fortran 9x Support
@comment node-name, next, previous, up
- [patch] proposed automake.texi patch for "How the Linker is Chosen",
Adrian Bunk <=