LoginSignup
12
11

More than 5 years have passed since last update.

Makefileのログを取る

Posted at

やりたいこと

  • 画面に出力したい
  • make.logにログを残したい(標準出力も標準エラーも)

sh・bashの場合

make 2>&1 | tee make.log

csh・tcshの場合

make |& tee make.log

2>&1は標準出力と標準エラー両方をパイプで渡す方法

12
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
11