From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Q3lsk-0003hu-Af for garchives@archives.gentoo.org; Sun, 27 Mar 2011 09:03:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1161C1C0D4 for ; Sun, 27 Mar 2011 09:03:32 +0000 (UTC) Received: from mail-iw0-f181.google.com (mail-iw0-f181.google.com [209.85.214.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 83763E06C8 for ; Sun, 27 Mar 2011 08:47:12 +0000 (UTC) Received: by iwn2 with SMTP id 2so3265536iwn.40 for ; Sun, 27 Mar 2011 01:47:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=SXQ/4ECkP15xd0+kmq/sHvOToxwEHYaf7PeNs6IZhH8=; b=VqrwqmJoJ4q4DB9tAjJ1fjwmP6mAqO06r8r8Wgaf/pxLXLP14ovxTQlkGZWjzt/Fhc G+oPeowNLLE5aR/HL/xh+AVAyM1IsNY2mWWiRPw0opeIO8KhYLwBYyyn2Nw4WvXrBrVk 4sFmDl2UxbbCxF14eSde+rlewXG8vMNPNZHe8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=bBNSkWTcb7Rg3fZIf1TN99JOllrN6IfM/U/i9FA4KrkGqXtAhxQLBwPbuSa0F1QUaB 4TEiZamrNPQ5KFS70wXAH25ofGDNbErcAdrFk+LE2kr+t6uXbLbHZ8om/yzkze2X9iZQ R4eiT2rtW33/vidYifm28k9NnZWi7IiqXs8DM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 Received: by 10.43.45.134 with SMTP id uk6mr4193984icb.168.1301215632054; Sun, 27 Mar 2011 01:47:12 -0700 (PDT) Received: by 10.231.172.17 with HTTP; Sun, 27 Mar 2011 01:47:12 -0700 (PDT) In-Reply-To: References: Date: Sun, 27 Mar 2011 12:47:12 +0400 Message-ID: Subject: Re: [gentoo-embedded] one cross-toolchain, many filesystem trees. From: Sergey Mironov To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 6da7c117a972cce4d1cb315eac228675 2011/3/23 Mike Frysinger : > On Wed, Mar 23, 2011 at 8:50 AM, Sergey Mironov wrote: >> Hi. I'm planning to build 3 ARM filesystem trees. Since they differs >> only in softfloat and mach flags in their /etc/make.conf, I don't want >> to maintain 3 equal cross-build environments. Thats why I'm thinking >> about building only one and than making 2 additional emerge wrappers, >> which will set right SYSROOT and call original emerge wrapper. Is it >> generally sufficient to make things work? > > "only" !? =A0the two pieces you speak of are core to the code generated. > =A0you'll need sep trees for each FPU target, and for each CPU class. > you could pick the lowest common denominator across the targets march > wise and build for that, but that's no fun. > -mike > I'm sorry, looks like I mentioned wrong 2 pieces. By softfloat I mean gcc f= lag -msoftfp and there should be -mcpu, not -mach. Basically, my 3 systems are = based on 1) arm1136 2) arm1176jzf with CFLAGS+=3D-softfp 3) arm1176jzf without using FPU I think they could be built with same cross-toolchain. Sergey