LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   how to pipe output from make (https://www.linuxquestions.org/questions/programming-9/how-to-pipe-output-from-make-325285/)

BBB 05-20-2005 04:30 AM

how to pipe output from make
 
Ive tried "make | less", "make >> make_log.txt" et.c. but it only writes
output from GnuMake and not GCC. Ive also tried editing the Makefile
a la :
glx_renderer.so : glx_renderer.hpp glx_renderer.cpp
"$(CC) bla bla -c glx_renderer.cpp >> glx_renderer.so.txt

but then it doesn't write ANYTHING to the text file.
Any ideas?

theYinYeti 05-20-2005 05:35 AM

store: make &> file
view: less < <(make 2>&1) ...in theory...
or: make &> >(less) ...in theory...

Yves.

BBB 05-20-2005 06:14 AM

>store: make &> file

Works great, thx! :)


All times are GMT -5. The time now is 04:02 AM.