從hello world 看編譯器原理

來一句hello world # vim hello.c #include<stdio.h> int main() { printf("hello world \n"); return 0; } 編譯器翻譯過程 gcc -o hello hello.c # gcc編譯器驅動程序讀取hello.c, #將其翻譯成可執行的目標文件 hello 流程圖 解釋: 預處理階段: hello.c 經過
相關文章
相關標籤/搜索