在文件上写入编译错误日志 - Fortran 77

Write a log of compilation errors on a file - Fortran 77

我不是 Fortran 的专家。我正在使用 Intel Parallel Studio XE 2015 编译代码。我遇到了很多错误,我想将它们保存到一个文件中以便于查看。

我用"ifort code.for /4R8"编译。

有什么办法可以做到吗?

谢谢

试试这些:

ifort code.for /4R8 > log.txt 2>&1

ifort code.for /4R8 2> log.txt 

更多信息here