Naruto 🍥 TAKAHASHI
●tnaruto@gmail.com
● twitter: @TNaruto
● Primary job: DeNA Co., Ltd.
○ develop SDK for mobile platforms
● Side job: wolfSSL Inc.
○ port embedded SSL/TLS library to RTOS
What’s CMake?
● https://cmake.org/
●OSS & Cross-Platform tool
● support build, test and packaging
● generate Native Platform makefiles
● support by many companies
19.
OSS & Cross-Platformtool
● Support Platforms
○ Windows
○ macOS
○ Linux
● セットアッププログラムあり
● CLI/GUI どちらもあります。
👉 CMake はインストール&バージョンアップがすごく楽
ARM バイナリ動作確認方法
● Linuxでクロスビルド
○ 別アーキテクチャ向けにコンパイルが可能
■ arm ,aarch64
● QEMU
○ コマンドラインで別アーキテクチャの動作確認が可能
■ ターゲットアーキテクチャのユニットテストが可能
👉 CI 上で ARM のビルド&動作確認が可能になる
67.
ARM クロスコンパイラとQEMU
● aarch64
○gcc-aarch64-linux-gnu
○ g++-aarch64-linux-gnu
● arm
○ gcc-arm-linux-gnueabi
○ g++-arm-linux-gnueabi
● qemu
○ qemu-user-static
○ qemu-system-arm