<font color="#0066CC"> Please explain what is arm-linux-gnueabihf-gcc? Why don’t we just compile with gcc?</font>eabi: 嵌入式ABI,嵌入式應用二進制街口指定了文件格式、數據類型、暫存器使用、堆積組織優化和在一個嵌入式軟件中的參數的標準約定。
hf: armhf架構,用fpu計算,傳參數也用fpu中的浮點暫存器傳,省去了轉換,性能最好,但是中斷負荷高
因為 embedded 和 host 的計算機架構不同,所使用的library也不同,所以不能直接用 gcc
<font color="#0066CC"> Can executable hello_world run on the host computer? Why or Why not? </font>
不行
Lab2
<font color="#0066CC"> What are the cmake and make for? What is the relationship between them? </font>cmake & make 都是編譯工具