[BL training-materials-updates] ct-ng lab updates for Ubuntu 18.04

Michael Opdenacker michael.opdenacker at bootlin.com
Wed Sep 26 15:35:48 CEST 2018


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

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

commit f51b79147ded13a515527b5ea6d17e55d2db829a
Author: Michael Opdenacker <michael.opdenacker at bootlin.com>
Date:   Wed Sep 26 10:19:35 2018 +0200

    ct-ng lab updates for Ubuntu 18.04
    
    - A more recent version of crosstool-ng is needed, otherwise
      you end up trying to build gcc 6.3 with gcc 7.3, which is stricter
      and then fails.
    
    - You need to use ./bootstrap instead of autoreconf
    
    - "make install" doesn't work anymore with "--enable-local" in configure
      but is not needed anyway.
    
    Signed-off-by: Michael Opdenacker <michael.opdenacker at bootlin.com>


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

f51b79147ded13a515527b5ea6d17e55d2db829a
 labs/sysdev-toolchain/sysdev-toolchain.tex | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/labs/sysdev-toolchain/sysdev-toolchain.tex b/labs/sysdev-toolchain/sysdev-toolchain.tex
index 251e7f3..5cff06c 100644
--- a/labs/sysdev-toolchain/sysdev-toolchain.tex
+++ b/labs/sysdev-toolchain/sysdev-toolchain.tex
@@ -31,12 +31,12 @@ long command line!}
 \section{Getting Crosstool-ng}
 
 Let's download the sources of Crosstool-ng, through its git
-source repository, and switch to a version that we have tested: 
+source repository, and switch to a commit that we have tested: 
 
 \begin{verbatim}
 git clone https://github.com/crosstool-ng/crosstool-ng.git
 cd crosstool-ng/
-git checkout crosstool-ng-1.23.0
+git checkout eb65ba65 
 \end{verbatim}
 
 \section{Installing Crosstool-ng}
@@ -47,10 +47,9 @@ solution. As documented in
 \code{docs/2 - Installing crosstool-NG.txt}, do:
 
 \begin{verbatim}
-autoreconf
+./bootrap
 ./configure --enable-local
 make
-make install
 \end{verbatim}
 
 Then you can get Crosstool-ng help by running




More information about the training-materials-updates mailing list