[lfs] 02/02: loongarch: gcc-pass1: Adapt the new note about -i.orig
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch xry111/loongarch in repository lfs. commit f68f1c829eb010c2be1806dc9999789a95e6ebed Author: Xi Ruoyao <[email protected]> AuthorDate: Sun Aug 17 21:04:48 2025 +0800 loongarch: gcc-pass1: Adapt the new note about -i.orig --- chapter05/gcc-pass1.xml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/chapter05/gcc-pass1.xml b/chapter05/gcc-pass1.xml index 2683b68e8..81d9bf510 100644 --- a/chapter05/gcc-pass1.xml +++ b/chapter05/gcc-pass1.xml @@ -72,11 +72,15 @@ mv -v mpc-&mpc-version; mpc</userinput></screen> <para> This example demonstrates the use of the <parameter>-i.orig</parameter> switch. It makes the - <command>sed</command> copy the <filename>t-linux64</filename> file - to <filename>t-linux64.orig</filename>, and then edit the original - <filename>t-linux64</filename> file inplace. So you may run - <command>diff -u gcc/config/i386/t-linux64{.orig,}</command> - to visualize the change done by the <command>sed</command> command + <command>sed</command> copy the <filename>t-linux</filename> and + <filename>linux.h</filename> files + to <filename>t-linux.orig</filename> and + <filename>linux.h.orig</filename>, and then edit the original + <filename>t-linux64</filename> and <filename>linux.h</filename> + files inplace. So you may run + <command>diff -u gcc/config/loongarch/t-linux{.orig,}</command> + to visualize the change to <filename>t-linux</filename> done by the + <command>sed</command> command afterwards. We'll simply use <parameter>-i</parameter> (which just edits the original file inplace without copying it) for all other packages in the book, but you can change it to -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/lfs-book Unsubscribe: See the above information page