2009年12月1日 星期二

GCC for AndesCore - compiler的類型

compiler的類型可分類為:
1. Native compiler: X86架構上建構於執行編譯,也產生X86的執行檔.
2. Cross compiler: 在X86架構上建構與執行編譯.但是產生AndesCore執行檔.
3. Crossback.
4. Crossed native.
5. Canadian.

不過一般最常接觸的compiler,桌上型電腦X86架構就是Native compiler,而embedded system最常使用就是Cross compiler.

而晶心科技的AndeSight所使用的compiler就使用Cross compiler類型的GCC,在AndeSight for MS Windows版本使透過cygwin模擬Linux環境,而cygwin是給要用Linux,卻離不開MS Windows環境的人使用的工具,既然要使用embedded Linux,建議就直接Linux環境下使用,安裝AndeSight for Linux版本,畢竟之後須要使用GCC做移植程式因此使用單純Linux環境還是比較方便.


沒有留言:

張貼留言