close
Warning:
Can't synchronize with repository "(default)" (Unsupported version control system "svn": /usr/lib/python2.7/dist-packages/libsvn/_core.so: failed to map segment from shared object: Cannot allocate memory). Look in the Trac log for more information.
- Timestamp:
-
Jul 29, 2011, 11:54:40 AM (15 years ago)
- Author:
-
shunfa
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
|
v1
|
v2
|
|
| 1 | | = Autotool 環境設定及範例 = |
| | 1 | = Autotool 環境設定及範例筆記 = |
| 2 | 2 | == 目標 == |
| 3 | 3 | 將寫好的程式碼透過以下指令就可編譯.安裝及使用 |
| … |
… |
|
| 15 | 15 | === Step2. 編輯程式碼 === |
| 16 | 16 | 1. 參考[http://markuskimius.wikidot.com/programming:tut:autotools:2 autotool tutorial][[BR]] |
| 17 | | 2. 編輯Makefile時必須注意,指令前的空白為<TAB> |
| | 17 | 2. 新增hello.c |
| | 18 | 3. 編輯Makefile(註:指令前的空白為<TAB>) |
| 18 | 19 | |
| | 20 | * 步驟結束後目錄下會有以下檔案: hello.c hello Makefile |
| | 21 | |
| | 22 | === Step3. 執行autoconf === |
| | 23 | |
| | 24 | * 步驟結束後目錄下會有以下檔案: |
| | 25 | |
| | 26 | |