[FE training-materials-updates] sysdev-toolchains-c-libraries: Update binaries size

Alexandre Belloni alexandre.belloni at free-electrons.com
Thu Jul 18 12:49:58 CEST 2013


Repository : git://git.free-electrons.com/training-materials.git

On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=87cdb81ef72cff60e735a6bc3c8d63aa4fdcceb1

>---------------------------------------------------------------

commit 87cdb81ef72cff60e735a6bc3c8d63aa4fdcceb1
Author: Alexandre Belloni <alexandre.belloni at free-electrons.com>
Date:   Thu Jul 18 12:49:33 2013 +0200

    sysdev-toolchains-c-libraries: Update binaries size
    
    Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>


>---------------------------------------------------------------

87cdb81ef72cff60e735a6bc3c8d63aa4fdcceb1
 .../sysdev-toolchains-c-libraries.tex              |   44 ++++++++++----------
 1 file changed, 22 insertions(+), 22 deletions(-)

diff --git a/slides/sysdev-toolchains-c-libraries/sysdev-toolchains-c-libraries.tex b/slides/sysdev-toolchains-c-libraries/sysdev-toolchains-c-libraries.tex
index 551a4e2..9384e84 100644
--- a/slides/sysdev-toolchains-c-libraries/sysdev-toolchains-c-libraries.tex
+++ b/slides/sysdev-toolchains-c-libraries/sysdev-toolchains-c-libraries.tex
@@ -59,28 +59,6 @@
 \end{frame}
 
 \begin{frame}
-  \frametitle{Honey, I shrunk the programs!}
-  \begin{itemize}
-  \item Executable size comparison on ARM, tested with {\em glibc}
-    2.9 and {\em uClibc} 0.9.30.1
-  \item Plain ``hello world'' program (stripped)
-    \begin{itemize}
-    \item With shared libraries: 5.6 KB with {\em glibc}, 5.4 KB with
-      {\em uClibc}
-    \item With static libraries: 472 KB with {\em glibc}, 18 KB with
-      {\em uClibc}
-    \end{itemize}
-  \item Busybox (stripped)
-    \begin{itemize}
-    \item With shared libraries: 245 KB with {\em glibc}, 231 KB with
-      {\em uClibc}
-    \item With static libraries: 843 KB with {\em glibc}, 311 KB with
-      {\em uClibc}
-    \end{itemize}
-  \end{itemize}
-\end{frame}
-
-\begin{frame}
   \frametitle{eglibc}
   \begin{columns}
     \column{0.8\textwidth}
@@ -106,6 +84,28 @@
 \end{frame}
 
 \begin{frame}
+  \frametitle{Honey, I shrunk the programs!}
+  \begin{itemize}
+  \item Executable size comparison on ARM, tested with {\em eglibc}
+  2.15 (with Thumb-2 instructions enabled) and {\em uClibc} 0.9.33.2
+  \item Plain ``hello world'' program (stripped): \\
+    \begin{tabular}{| c || c | c |} \hline
+    helloworld & static & dynamic \\ \hline
+    {\em uClibc} & 18kB & 2.5kB \\
+    {\em uClibc} with Thumb-2 & 14kB & 2.4kB \\
+    {\em eglibc} & 361kB & 2.7kB \\ \hline
+    \end{tabular} \\
+  \item Busybox (stripped): \\
+    \begin{tabular}{| c || c | c |} \hline
+    busybox & static & dynamic \\ \hline
+    {\em uClibc} & 750kB & 603kB \\
+    {\em uClibc} with Thumb-2 & 533kB & 439kB \\
+    {\em eglibc} & 934kB & 444kB \\ \hline
+    \end{tabular}
+  \end{itemize}
+\end{frame}
+
+\begin{frame}
   \frametitle{Other smaller C libraries}
   \begin{itemize}
   \item Several other smaller C libraries have been developed, but



More information about the training-materials-updates mailing list