20221101
- Linux 系統下 安裝 QEMU(模擬器)
- 開啟虛擬硬碟 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 - ./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) - make
- make install
=> showup ct-ng - check default setting (picture.e)
./ct-ng show-arm-cortex_a8-linux-gnueabi - Use this setting for target environment (picture.f)
./ct-ng arm-cortex_a8-linux-gnueabi - Use user interface for config menu command: menuconfig (picture.g)
./ct-ng menuconfig - The motification setting on menuconfig will save into .config file (picture.h)
- https://iter01.com/198141.html
- Embedded linux:
1. toolchain:
a. 使用crosstool-NG 組建
b.
crosstool-NG source code: https://github.com/jcmvbkbc/crosstool-NG