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 CCC2A1391DB for ; Fri, 1 Aug 2014 12:22:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9BDFAE097D; Fri, 1 Aug 2014 12:22:24 +0000 (UTC) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81363E088A for ; Fri, 1 Aug 2014 12:22:23 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w10so5428878pde.37 for ; Fri, 01 Aug 2014 05:22:22 -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=i2OnTmfD1m7CUgDFdXW+eVxc9Ki4h/qzoo3lw88pA4s=; b=RTHuvjCN2p4F4bHQ5j6ZIMrUtMz/VdDuygjiXyp+iWCs/uu2OQA7pau2dxjGGWrPKJ BHBORz2qQ50y8HmIF+PwtlIU+6/qzRAkpqUV4rut8YNZtImv4d1DTDafxne9HPW1hVpx m4ima51L0ssB44TRbNHOCNb7pZuOY31qPJHgE= 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=i2OnTmfD1m7CUgDFdXW+eVxc9Ki4h/qzoo3lw88pA4s=; b=W/1Glgf73DTqRJ8rveSwWCsO8kAnBxF/MChHpwQKIvhDTTkrJPanDGvRMr/MV9LEBV JgHgpiz+JX7B6hn/1z1d0BlIXz5GT8fJZqujv1SdUKw+fFBA6tKbk1JR385lsg1mVmjQ DoWZHOYHqrnaY0UEjnoWJLQSEPbfb4RF7BxXnmy5cXyJ2a+VF+opgEIf+HMuOOUL7qtg U/WMlR7Pcg6W0epRIlCBIbmG0rY4WK3xDyMr9e1QAY1gKm3El8yc5eA9xn4Dq2Bva0Dx 6Ee+wH1P7Nkcqbpl5H/ZUp3jCfqnrK5cHYZVyJ89nSe6RFjgmfjmlLeLxF+du8Zvnpwa xzZA== X-Gm-Message-State: ALoCoQlKAAAY8y46uR6eYLbBdfrMqwLTbok+uQ51viu0vOc4MXX8zwxRsPgtVmW0V8mo8MXcK/ut X-Received: by 10.68.129.99 with SMTP id nv3mr5478832pbb.128.1406895741937; Fri, 01 Aug 2014 05:22:21 -0700 (PDT) Received: from nilesh-pc.lan ([123.201.38.211]) by mx.google.com with ESMTPSA id u2sm8558237pbs.42.2014.08.01.05.22.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Aug 2014 05:22:20 -0700 (PDT) Message-ID: <1406895736.1362.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 17:52:16 +0530 In-Reply-To: References: <1406872796.1957.1.camel@wraeth.id.au> <20140801085351.02b6bf18@digimed.co.uk> <1406880069.31927.1.camel@nileshgr.com> <20140801125120.4c7a35ff@hactar.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: 8bit X-Archives-Salt: 85ed7c42-cdda-4ce0-a80a-c77e2e477b22 X-Archives-Hash: 2758371caaa656e4c6957ca3196d63a8 On Fri, 2014-08-01 at 06:00 -0600, Jc García wrote: > 2014-08-01 5:51 GMT-06:00 Neil Bothwick : > > On Fri, 1 Aug 2014 05:45:36 -0600, Jc García wrote: > > > >> > 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. > >> > > >> > > >> I don't think what CFLAGS you are using matters for using > >> systemd-nspawn. > > > > If you are using a chroot to build packages for installation on another > > machine, the CFLAGS should be appropriate for the target machine, not the > > build host. > > > Maybe I misinterpreted what he was asking, I was only thinking about > the part of using nspawn as a replacement for chroot, not beyond that, > but you're right. > > > > -- > > Neil Bothwick > > > > The quickest way to a man's heart is through his sternum. > Why it shouldn't matter? What if a package's building process depends on some other package? Though the build process isn't for a completely different arch, it might matter. That's my doubt.