Resuming compilation sesssion
Erik Norgaard
norgaard at locolomo.org
Sun Feb 13 11:12:15 GMT 2005
Vittorio wrote:
> With a FBSD 5.3 box I use to compile my favourite programs from scratch with:
> cd /usr/ports/prog_I_want
> make
> make install clean
>
> But sometimes I have to interrupt the compilation because the PC is shared
> with other people.
>
> How can I resume the compilation session from where I stopped it?
If you <crtl>-c, then compilation breaks. As long as the 'make clean'
has not been done, next time you 'make' it will continue where it stopped.
If it is only a short period, you can <crtl>-z (suspend), then you can
see the job with 'jobs', make it nice 'renice -20 %<jobnumber>', start
it again in background with 'bg %1' or in foreground with 'fg %1'.
Cheers, Erik
--
Ph: +34.666334818 web: http://www.locolomo.org
S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt
Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9
Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2
More information about the freebsd-questions
mailing list