diff options
-rw-r--r-- | chapter05/gcc-pass1.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 7a431ec90..e0d503f8d 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -208,6 +208,14 @@ cd build</userinput></screen> header using a command that is identical to what the GCC build system does in normal circumstances:</para> + <note> + <para>The command below shows an example of nested command substitution + using two methods: backquotes and a $() construct. It could be rewritten + using the same method for both substitutions, but is shown this way + to demonstrate how they can be mixed. Generally the $() method is + preferred.</para> + </note> + <screen><userinput remap="install">cd .. cat gcc/limitx.h gcc/glimits.h gcc/limity.h > \ `dirname $($LFS_TGT-gcc -print-libgcc-file-name)`/install-tools/include/limits.h</userinput></screen> |