Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
標準のカーネル コンパイルの実行中にカーネル ビルド ログが見つかる場所はありますか。1 つの方法は、出力をファイルにリダイレクトすることです。
source <build_script> > build_log_file.txt
stdout と stderr に入ります。代わりにファイルに移動したい場合は、次のことができます。
make > <logfile> 1>&2
出力をファイルと画面に入れたい場合は、次のことができます
make 2>&1 | tee <logfile>