Makefile和GCC日常用法

GCC -I、-L、-l gcc -o hello hello.c -I /home/hello/include-L /home/hello/lib –lworld   (大寫i) -I/home/hello/include:表示將/home/hello/include目錄作爲第一個尋找頭文件的目錄,尋找順序:/home/hello/include--> /usr/include --> /usr
相關文章
相關標籤/搜索