Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 03:48:21 -0800
From:      "Loren M. Lang" <lorenl@alzatex.com>
To:        Erik Norgaard <norgaard@locolomo.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Resuming compilation sesssion
Message-ID:  <20050216114821.GC28990@alzatex.com>
In-Reply-To: <420F360C.506@locolomo.org>
References:  <200502131204.23741.v.demartino2@virgilio.it> <420F360C.506@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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
 



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