[bootlin/training-materials updates] master: labs/sysdev-thirdparty: improve final section (2f9aa7be)
Michael Opdenacker
michael.opdenacker at bootlin.com
Thu Sep 29 14:33:21 CEST 2022
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/2f9aa7befc429d9ab14c2f7dfedc2ca66aa700e7
>---------------------------------------------------------------
commit 2f9aa7befc429d9ab14c2f7dfedc2ca66aa700e7
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date: Thu Sep 29 14:33:21 2022 +0200
labs/sysdev-thirdparty: improve final section
Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>
>---------------------------------------------------------------
2f9aa7befc429d9ab14c2f7dfedc2ca66aa700e7
labs/sysdev-thirdparty/sysdev-thirdparty.tex | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)
diff --git a/labs/sysdev-thirdparty/sysdev-thirdparty.tex b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
index f5b2e3da..0ce91242 100644
--- a/labs/sysdev-thirdparty/sysdev-thirdparty.tex
+++ b/labs/sysdev-thirdparty/sysdev-thirdparty.tex
@@ -812,6 +812,16 @@ Address space: Private Use
\section{Final touch}
To finish this lab completely, and to be consistent with what we've done before,
-let's strip the libraries in \code{target/lib}:
+let's strip the C library and its loader too.
-\bashcmd{$ arm-linux-strip target/lib/*}
+First, check the initial size of the binaries:
+\bashcmd{$ ls -l arm-linux-strip target/lib}
+
+Then strip the binaries in \code{/lib}:
+\begin{bashinput}
+$ chmod +w target/lib/*.so
+$ arm-linux-strip target/lib/*.so
+\end{bashinput}
+
+And check the final size:
+\bashcmd{$ ls -l arm-linux-strip target/lib/}
More information about the training-materials-updates
mailing list