Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 12:12:12 +0100
From:      Erik Norgaard <norgaard@locolomo.org>
To:        Vittorio <v.demartino2@virgilio.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Resuming compilation sesssion
Message-ID:  <420F360C.506@locolomo.org>
In-Reply-To: <200502131204.23741.v.demartino2@virgilio.it>
References:  <200502131204.23741.v.demartino2@virgilio.it>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?420F360C.506>