[bootlin/training-materials updates] master: C libraries: license matters (e1be4b7c)

Michael Opdenacker michael.opdenacker at bootlin.com
Sun May 31 11:53:31 CEST 2020


Repository : https://github.com/bootlin/training-materials
On branch  : master
Link       : https://github.com/bootlin/training-materials/commit/e1be4b7cf833c726b3f272309f15dccda7abb303

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

commit e1be4b7cf833c726b3f272309f15dccda7abb303
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Sun May 31 11:53:31 2020 +0200

    C libraries: license matters
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

e1be4b7cf833c726b3f272309f15dccda7abb303
 slides/c-libraries/c-libraries.tex                     | 6 +++++-
 slides/sysdev-embedded-linux/sysdev-embedded-linux.tex | 3 +++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/slides/c-libraries/c-libraries.tex b/slides/c-libraries/c-libraries.tex
index d6f9b048..bf949280 100644
--- a/slides/c-libraries/c-libraries.tex
+++ b/slides/c-libraries/c-libraries.tex
@@ -58,7 +58,9 @@
       \item A lightweight, fast and simple library for embedded systems
       \item Created while uClibc's development was stalled
       \item In particular, great at making small static executables
-      \item Permissive license (MIT)
+      \item More permissive license (MIT), making it easier to release
+            static executables. We will talk about the requirements
+            of the LGPL license (glibc, uClibc) later.
       \item Supported by build systems such as Buildroot and Yocto
         Project.
       \item Used by the Alpine Linux distribution
@@ -127,5 +129,7 @@ compare the size
         your app and then the entire filesystem with {\em uClibc} or {\em musl}.
   \item If you run into trouble, it could be because of missing features
         in the C library.
+  \item In case you wish to make static executables, {\em musl} will be
+        an easier choice.
   \end{itemize}
 \end{frame}
diff --git a/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex b/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
index 37791f9c..dbb7b50e 100644
--- a/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
+++ b/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
@@ -205,6 +205,9 @@
       easiest solution. Statically linked executables are only possible
       if the developer provides a way to relink with an update
       (with source code or linkable object files).
+    \item If this constraint is too strong for you, use a library
+      with a more permissive license if you can (such as the {\em musl}
+      C library, with MIT license).
     \end{itemize}
   \item Used instead of the GPL for most of the libraries, including
     the C libraries




More information about the training-materials-updates mailing list