20221101

  1. Linux 系統下 安裝 QEMU(模擬器)
  2. 開啟虛擬硬碟 Virtualbox安裝 crosstool-NG (p. 021))
    sudo apt-get install automake bison chrpath flex g++ git gperf gawk libexpat1-dev libncurses5-dev libsdl1.2-dev libtool python2.7-dev texinfo
    ps. [ERROR] E: Invalid operation python2.7-dev
  3. ./confiure –enable-local
    ps. enable local 讓程式安裝在目前的資料夾
    => Configure: error: missing required tool: makeinfo => install texinfo
    => Configure: error: missing required tool: help2man => install help2man
    => configure: error: Required tool not found: GNU bash >= 3.1
    check GNU bash version: bash –version
    SOLUTION. picture.a, picture.b
    config build finished and makefile showup (picture.c, picture.d)
  4. make
  5. make install
    => showup ct-ng
  6. check default setting (picture.e)
    ./ct-ng show-arm-cortex_a8-linux-gnueabi
  7. Use this setting for target environment (picture.f)
    ./ct-ng arm-cortex_a8-linux-gnueabi
  8. Use user interface for config menu command: menuconfig (picture.g)
    ./ct-ng menuconfig
  9. The motification setting on menuconfig will save into .config file (picture.h)
  1. https://iter01.com/198141.html
  2. Embedded linux:
    1. toolchain:
    a. 使用crosstool-NG 組建
    b.
    crosstool-NG source code: https://github.com/jcmvbkbc/crosstool-NG
picture.a
picture.b
picture.c
picture.d
picture.e
picture.f
picture.g
picture.h