[FE training-materials-updates] CMake and cross-compiling slide improvements

Michael Opdenacker michael.opdenacker at free-electrons.com
Fri Mar 14 16:24:22 CET 2014

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

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


commit 255074ee61d59f341323aa40a56bbf07c31e08b4
Author: Michael Opdenacker <michael.opdenacker at free-electrons.com>
Date:   Fri Mar 14 16:23:25 2014 +0100

    CMake and cross-compiling slide improvements
    Signed-off-by: Michael Opdenacker <michael.opdenacker at free-electrons.com>


 .../sysdev-application-development.tex             |    7 ++++---
 .../sysdev-embedded-linux.tex                      |    7 +++++--
 2 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/slides/sysdev-application-development/sysdev-application-development.tex b/slides/sysdev-application-development/sysdev-application-development.tex
index c6e3bde..e00ad7a 100644
--- a/slides/sysdev-application-development/sysdev-application-development.tex
+++ b/slides/sysdev-application-development/sysdev-application-development.tex
@@ -106,9 +106,10 @@
     to run your application on a desktop Linux PC and on the target
     device, using a build system is recommended
-    \item Look at the {\em autotools} (ancient, complicated but very
-      widely used) or {\em CMake} (modern, simpler, smaller but
-      growing user base)
+    \item {\em autotools} is ancient, complicated but very
+      widely used.
+    \item We recommend to invest in {\em CMake} instead: modern, simpler, smaller but
+      growing user base.
   \item The QT library is a special case, since it comes with its own
     build system for applications, called {\em qmake}.
diff --git a/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex b/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
index 93253a1..d63c44a 100644
--- a/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
+++ b/slides/sysdev-embedded-linux/sysdev-embedded-linux.tex
@@ -1166,9 +1166,12 @@ met:
     \code{CPP}, \code{CXX}, \code{STRIP}, \code{OBJCOPY} must be
     defined to point to the proper cross-compilation tools. The host
     tuple is also by default used as prefix.
-  \item The \code{--host} argument must be passed to the \code{configure} script.
+  \item \code{configure} script arguments:
-    \item \code{--build} argument is automatically detected
+    \item \code{--host}: mandatory but a bit confusing.
+     Corresponds to the {\em target} platform the code will run on.
+     Example: \code{--host=arm-linux}
+    \item \code{--build}: build system. Automatically detected.
     \item \code{--target} is only for tools generating code.
   \item It is recommended to pass the \code{--prefix} argument. It

More information about the training-materials-updates mailing list