回文章列表
作者chiouss.bbs@ptt.cc (Alive a Life), 信區: 386bsd
標題Re: [問題] 請問編譯核心相關的問題
時間批踢踢實業 (Thu Jan 18 00:50:41 2007)
轉信站: GIBBS!ccnews.ncku!news.ccns.ncku!news.mksh.phc!news.nsysu!ctu-gate!ctu-
Origin: sally.csie.ntu.edu.tw

※ 引述《b7736 (Fasiter)》之銘言:
: 目前正在學習編譯核心,首先有參考黑皮書
: 裡面教的編譯核心步驟是這樣的
: 1.config KERNELNAME
: 2.退到上層compile目錄下的 KERNELNAME目錄中
: 3.make depend ; make ; make install (可以make all install)

這是舊的用法

: 要先 make buildworld 再 make installworld
: 然後到 /usr/src 指令 make KERNCONF=KERNELNAME
                           ^buildkernel
: make installkernel KERNCONF=KERNELNAME
: 這一列好像又很多種不同的說法

這是現在 /usr/src/UPDATING 裡面寫建議的做法,而且建議是在 single user mode
底下做 make installworld。

你需要的參考資料 handbook 裡面應該都有。

--
要開啟新的一道門,任誰都會感覺不安。那不是可恥的事,
真正可恥的是被不安感打敗而不敢開啟那道門。

--
※ 發信站: 批踢踢實業坊(ptt.cc) 
◆ From: 59.104.108.63
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻