From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id BE7E41393DD for ; Fri, 1 Aug 2014 08:01:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC137E08C0; Fri, 1 Aug 2014 08:01:16 +0000 (UTC) Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7B8AE0844 for ; Fri, 1 Aug 2014 08:01:15 +0000 (UTC) Received: by mail-pd0-f176.google.com with SMTP id y10so5121916pdj.7 for ; Fri, 01 Aug 2014 01:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nileshgr.com; s=google; h=message-id:subject:from:to:date:in-reply-to:references:content-type :mime-version:content-transfer-encoding; bh=SddMstWdwUBPXT1j13LG9GZu+vLDFOHbqGO2GSk/Zkc=; b=Sj8EUUVMuL5iG0finV3+mDcBwA6i12Hm99U6XHUqM3L1nz6ojR/fcfpBb38nPGFMti 3iiCrhh9aUzS/3m4mlZWjvIBb6nTBEDbv5MQP3YdvIEvpPGy2/RRfidXtxZVui4fWrV4 VtS8PYK12pljvSZdIrdLjumiqsndUh7RJq8Jo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; bh=SddMstWdwUBPXT1j13LG9GZu+vLDFOHbqGO2GSk/Zkc=; b=bjsosUCoVaiU2qgBD9p5RUsYK3cPNwHZfvYnsZpf3g+eZ87buXdzJ+hhCktiuarxmR yIi7TixxMB1rcJPjxaS4pMudNr2TWaI8kixElUo1B5ETjTOtZCMkOGk3oB4M3tHE7k2U /HyjkIJF+oyvO6f2TFa9NCIWAbvrIRzCV4pQH3sdDGHhUYWEILtxD0QU8L+O4dDCr62z 0fwoa9mMCLwMXWOEFZBoR8Wdr6U3F1S+3FKvgCjho3ngyK3SDza23Jzgsv1LqJ5rcOiz HSiqy+7GMFuXMbQNBOhN72SeWsFUAVk8XHMBnLoii/aPmbolxsEvMLFKWeWMh/KHyof7 Xt6g== X-Gm-Message-State: ALoCoQmv1dKahBeKQhJfR3AqGrPtRsuXShRk5VDiLxRqPFoRBR0AutbtQZcolNUuPWhkWDb7gGKp X-Received: by 10.70.118.197 with SMTP id ko5mr3954811pdb.64.1406880074437; Fri, 01 Aug 2014 01:01:14 -0700 (PDT) Received: from nilesh-pc.lan ([123.201.38.211]) by mx.google.com with ESMTPSA id l3sm7810601pbq.8.2014.08.01.01.01.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2014 01:01:13 -0700 (PDT) Message-ID: <1406880069.31927.1.camel@nileshgr.com> Subject: Re: [gentoo-user] Compiling for different CPU but same architecture From: Nilesh Govindrajan To: gentoo-user@lists.gentoo.org Date: Fri, 01 Aug 2014 13:31:09 +0530 In-Reply-To: <20140801085351.02b6bf18@digimed.co.uk> References: <1406872796.1957.1.camel@wraeth.id.au> <20140801085351.02b6bf18@digimed.co.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Archives-Salt: bcf2a76b-4a8d-45f3-8ac9-14d31883889e X-Archives-Hash: 47b0bd10ac75bf848d8a9d7ba53430cb On Fri, 2014-08-01 at 08:53 +0100, Neil Bothwick wrote: > On Fri, 01 Aug 2014 15:59:56 +1000, wraeth wrote: > > > systemd-nspawn is quite a useful utility for working in a chroot - > > almost a complete virtual machine without the overhead. > > > > I also came across a handy introduction to it [1] too, by none other > > than rich0 (one of our esteemed devs) - it's worth a read (particularly > > when you try using it without DEVPTS_MULTIPLE_INSTANCES set - that was > > fun!). > > > > [1] > > http://rich0gentoo.wordpress.com/2014/07/14/quick-systemd-nspawn-guide/ > > I saw that a couple of weeks ago and thought "I'll try that when I get > time". The time needed turned out to be about 5 minutes, it's so much > easier than using a chroot. > > systemd-nspawn seems to be interesting. But will it work on my i5? Because I prefer to use -march=native. For using distcc I copied all the flags that gcc selects in march=native mode to make.conf.