Resuming compilation sesssion

Loren M. Lang lorenl at alzatex.com
Wed Feb 16 11:48:26 GMT 2005


On Sun, Feb 13, 2005 at 12:12:12PM +0100, Erik Norgaard wrote:
> 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'.

This also applies to using portupgrade, but if you stop portupgrade with
<ctrl-c> then you need to remember to resume portupgrade with the -w
switch.

> 
> 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
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


More information about the freebsd-questions mailing list