Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

When you compile kernel you normally see lines like

CC XX.o or LD XX

So, can I skip these messages? Only output errors or warnings generated by gcc

share|improve this question
    
How about make > /dev/null? Why would you want to do that actually? –  peterph Apr 4 '13 at 10:12
    
@peterph to filter out "normal" messages –  warl0ck Apr 4 '13 at 10:13
3  
Yes, warnings/errors go to stderr. Or (in bash) make 2>&1 1>stdout.log | tee stderr.log - you'll get both logged, only stderr will be displayed. –  peterph Apr 4 '13 at 10:28
    
@peterph But if the CC ... line got lost, you won't be able to figure out where the message comes from. –  vonbrand Apr 4 '13 at 12:17
    
compilers usually include the file name in the warning/error message. –  peterph Apr 4 '13 at 12:19

1 Answer 1

Looks like make -s works.

That would make the whole procedure "silent".

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.