shell - make and ">" redirector not working as expected in gnome-terminal -


for operating systems class taking @ university, required work on large teaching operating system. code i'm working on has been provided bunch of makefiles , compiled cmake , make.

since there bunch of warnings (which i'd rid of) in code , build tree quite big, i'm trying redirect build log file make > output.txt.

however, writes output make file:

output.txt looks this:

[ 63%] building cxx object common/source/kernel/cmakefiles/common_kernel.dir/syscall.cpp.o [ 63%] building cxx object common/source/kernel/cmakefiles/common_kernel.dir/thread.cpp.o [ 64%] building cxx object common/source/kernel/cmakefiles/common_kernel.dir/timemanager.cpp.o [ 64%] building cxx object common/source/kernel/cmakefiles/common_kernel.dir/userprocess.cpp.o [ 65%] building cxx object common/source/kernel/cmakefiles/common_kernel.dir/userthread.cpp.o linking cxx static library ../../../lib/libcommon_kernel.a 

output gcc or g++ still printed shell this:

in file included /home/user/desktop/bs2015g07/userspace/tests/x7_cancellation_points.c:4:0: /home/user/desktop/bs2015g07/userspace/tests/../libc/include/stdlib.h:90:22: warning: ‘start’ defined not used [-wunused-variable]  static mem_block_t * start;                       ^ /home/user/desktop/bs2015g07/userspace/tests/x7_cancellation_points.c: in function ‘function’: /home/user/desktop/bs2015g07/userspace/tests/x7_cancellation_points.c:14:1: warning: control reaches end of non-void function [-wreturn-type]  }  ^ 

is there way redirect output 1 single file? or there way somehow enlarge shell text buffer, view output on shell?

this write output (stderr , stdout) file:

command > file 2>&1 

Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -