I am creating an open source project from source code (CPP) on Linux. This is the order:
$CFLAGS="-g Wall" CXXFLAGS="-g Wall" ../trunk/configure --prefix=/somepath/ --host=i386-pc --target=i386-pc $make
During compilation, I get a lot of compiler warnings. I want to start fixing them. My question is how to capture all compiler output to a file?
$make > file does not do the job. This is just saving the compiler command as g++ -someoptions /asdf/xyz.cpp I need the output of these commands.
linux shell g ++ io-redirection makefile
pecker Feb 19 2018-10-19 15:47
source share