Lab3 Preview Report - Jian-PingWang/EE2405 GitHub Wiki
Topics
- Cross-compiler tool chains
- CMake
Cross-compiler tool chains
- Introduction
Cross-compiler是一種跨平台的compiler,也就是說他可以在linux的環境下編譯出能在板子上執行的程式。
- Related parts of our lab
Ubuntu提供了Cross-compiler tool chains,也就是說,我們只要利用這套工具就能順利安裝Cross-compiler。
CMake
- Introduction
CMake是個oper source的跨平台自動化建構系統,它能組態檔控制建構過程。它會產生標準的建構檔,然後再依一般的建構方式使用。
- Related parts of our lab
因為我們要將ext3 image file掛載到extracted rootfs directory ($PRJROOT/rootfs),以得到另一個包含new OpenCV的ext3 image file。所以我們要利用CMake去安裝一個cross-compiler給OpenCV。