看板 Linux 關於我們 聯絡資訊
我在編譯的時候,因為內容很多,所以剛編譯到的檔案會跑到終端機的上面後不見, 有辦法讓他輸出成一個文件,讓我用ctrl+F去搜尋嗎? 我用-h找到-p, --print-data-base Print make's internal database. 可是好像也不是,版上有人知道的話,能幫我一下嗎? 謝謝。 所以假如我的指令是 make ARCH=arm CROSS_COMPILE=../arm-2008q1/bin/arm-none-linux-gnueabi- bzImage 加入後變成這樣嗎? make > tee build.log ARCH=arm CROSS_COMPILE=../arm-2008q1/bin/arm-none-linux-gnueabi- bzImage -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.96.93.13
legnaleurc:make > tee build.log ? 07/11 09:14
※ 編輯: worldxxi 來自: 140.96.93.13 (07/11 10:43)
worldxxi:請問是這樣嗎? 07/11 10:43
TroyLee:make ARCH=.... | tee build.log 這樣吧 07/11 11:14
TroyLee:你要了解一下什麼是pipeline什麼是redirection 07/11 11:15
TroyLee:在什麼時候用什麼, 而不是用猜的... ~"~ 07/11 11:15
worldxxi:是鳥哥的書沒有提到還是我漏看了,我要怎樣學。 07/11 21:04