Keeping a log
The simple way of keeping a log is to redirect stdout and stderr, like this:
make &> mylog.txt
This will put everything into "mylog.txt".
If you want to watch on the screen as well, use a variant:
make 2>&1 | tee mylog.txt
Copying text from the screen
Another useful trick to know is how to pull text out of a "dos" window. To do this click on the "edit" button:
Then, click and drag with the mouse until the desired text is highlighted. Then press <enter> on the keyboard, and the selected text will be copied to the clipboard.
This error message
Your jpg image gave an error message similar to this:
gcc -c -O -g3 -Wall -Wuninitialized -DSMAUG interp.c
interp.c: In function `interpret':
interp.c:758: warning: int format, long int arg (arg 7)
interp.c:758: warning: int format, long int arg (arg 8)
interp.c: In function `update_userec':
interp.c:1192: warning: implicit declaration of function `timerisset'
interp.c:1193: warning: implicit declaration of function `timercmp'
interp.c:1193: parse error before `<'
interp.c: At top level:
interp.c:1198: parse error before `if'
make[1]: *** [interp.o] Error 1
make[1]: Leaving directory `/home/nick/smaug/dist/src'
make: *** [all] Error 2
I got this before I made the change that I recommended to the file interp.c. Did you do that?
#define __rtems__ // <--- Add this
#include <time.h> // <--- before this line
It might not be obvious, but that is two underscores on each side of the word "rtems".
|