[bootlin/training-materials updates] master: Toochains lab: align C library settings (126e232e)

Michael Opdenacker michael.opdenacker at bootlin.com
Mon Aug 3 16:04:49 CEST 2020


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

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

commit 126e232e45a360ab06582378f2f548dadd3b9c1b
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Mon Aug 3 16:04:49 2020 +0200

    Toochains lab: align C library settings
    
    - IPV6, WCHAR and SSP were not enabled in the stm32 case
      We want to be in sync with the instructions in the
      later Buildroot lab
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

126e232e45a360ab06582378f2f548dadd3b9c1b
 labs/sysdev-toolchain/sysdev-toolchain.tex | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 3cf4efd6..0be9bb99 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -95,13 +95,21 @@ In \code{Toolchain options}:
   to type.
 \end{itemize}
 
-\ifdefstring{\labboard}{qemu}{
 In \code{C-library}:
 \begin{itemize}
-  \item Set \code{C library} to \code{uClibc}
+  \item If not set yet, set \code{C library} to \code{uClibc}
   \item Keep the default version that is proposed
+  \item If needed, enable \code{Add support for IPv6}\footnote{
+        That's needed to use the toolchain in Buildroot, which only
+        accepts toolchains with IPv6 support},
+        \code{Add support for WCHAR} and
+	\code{Support stack smashing protection (SSP)}
+\end{itemize}
+
+In \code{C compiler}:
+\begin{itemize}
+  \item Make sure that \code{C++} is enabled
 \end{itemize}
-}{}
 
 In \code{Debug facilities}, disable every option, except \code{strace}
 (with default settings). Some of these options will be useful in a real




More information about the training-materials-updates mailing list