How do i copy the contents of the errors and other details which i get while compilation into a file?
for example: gcc abc.c
will generate some errors how will i copy the contents? I have tried piping but every time i get an empty file
How do i copy the contents of the errors and other details which i get while compilation into a file?
for example: gcc abc.c
will generate some errors how will i copy the contents? I have tried piping but every time i get an empty file
Do
# make 2>make.log 1>&2
This shud redirect all stderr and stdout to make.log file.
Thanks man