编译时,输出信息重定向到文件

例如:
make > /home/t.txt 2>&1

表示把输出的信息、错误信息等都放到t.txt文件中
win和linux都通用。

猜你喜欢

转载自www.cnblogs.com/lcinx/p/10570796.html