T tidehigh Senior member Nov 13, 2006 567 0 0 Mar 3, 2008 #1 I want to save the make output of my program to a text file.
Crusty Lifer Sep 30, 2001 12,684 2 81 Mar 3, 2008 #2 make options >> output.txt Or something like that depending on what OS you are using.
T tidehigh Senior member Nov 13, 2006 567 0 0 Mar 3, 2008 #4 hrmm, i'm on RHEL5... can't seem to find any info on what you've given me.
T trexpesto Golden Member Jun 3, 2004 1,237 0 0 Mar 14, 2008 #5 Is it like BASH ? Try something like this if you want to still see the output on screen. May have to fiddle with it. make [options] 2>&1 | tee log.txt this might work too: make [options] &> log.txt
Is it like BASH ? Try something like this if you want to still see the output on screen. May have to fiddle with it. make [options] 2>&1 | tee log.txt this might work too: make [options] &> log.txt
Markbnj Elite Member <br>Moderator Emeritus Moderator Sep 16, 2005 15,682 14 81 www.markbetz.net Mar 14, 2008 #6 I think all make output goes to stdout. Anyway, on RHEL just try make -la-de-da > myoutput.txt