How do I capture all of my compiler's output to a file?

前端 未结 10 2473
無奈伤痛
無奈伤痛 2020-12-23 09:16

I\'m building an opensource project from source (CPP) in Linux. This is the order:

$CFLAGS=\"-g Wall\" CXXFLAGS=\"-g Wall\" ../trunk/configure --prefix=/some         


        
10条回答
  •  春和景丽
    2020-12-23 09:32

    It is typically not what you want to do. You want to run your compilation in an editor that has support for reading the output of the compiler and going to the file/line char that has the problems. It works in all editors worth considering. Here is the emacs setup:

    https://www.gnu.org/software/emacs/manual/html_node/emacs/Compilation.html

提交回复
热议问题