Results 1 to 2 of 2
I'm trying to record the errors/warnings of a make build to a log file, but cannot do so successfully. I've tried some of the following, but to no prevail:
make ...
- 02-25-2010 #1Just Joined!
- Join Date
- Feb 2010
- Posts
- 2
Make Log File
I'm trying to record the errors/warnings of a make build to a log file, but cannot do so successfully. I've tried some of the following, but to no prevail:
make > errors.log
In errors log, instead of the several error messages I get only the following line:
g++ -Wall -c file.cpp -o file.o
Is there a command I could not find in the manual to log the errors instead of displaying them? How to capture output to file if not?
- 02-25-2010 #2Linux User
- Join Date
- Nov 2009
- Location
- France
- Posts
- 292
Try redirecting file descriptor 2
file descriptors - The UNIX and Linux ForumsCode:make 2> errors.log
0 + 1 = 1 != 2 <> 3 != 4 ...
Until the camel can pass though the eye of the needle.


Reply With Quote