Is it possible to stop and then later resume a GCC make? I started make before noon...it's now 4:20 and make is still going strong. I'm building it on my computer a work, so I'm going to be stopping it at 5, one way or another. It'd be real nice if I could simply resume it on Monday, rather than having to completely restart it. BTW, GCC-4.1.1, building in cygwin.
CTRL+C. Run make again to res
CTRL+C. Run make again to resume the build process.
SIGSTOP
You can also send a STOP signal to the compiler (cc1 is the process name).
Check the pid with ps then do a
kill -STOP <pid>
and to resume you can later do a
kill -CONT <pid>
(kill -l lists all available signals, btw)
Have fun!
AC
Thanks
Oh good. Thanks for the help!
Yes, the above knowledge seem
Yes, the above knowledge seems very useful.
We could need a tiny wiki here which just has some snippets :)