From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6493 invoked by alias); 9 May 2012 08:26:46 -0000 Received: (qmail 6476 invoked by uid 22791); 9 May 2012 08:26:44 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.free-electrons.com (HELO mail.free-electrons.com) (88.190.12.23) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 09 May 2012 08:26:31 +0000 Received: by mail.free-electrons.com (Postfix, from userid 106) id D3DC913E; Wed, 9 May 2012 10:26:29 +0200 (CEST) Received: from skate (col31-4-88-188-83-94.fbx.proxad.net [88.188.83.94]) by mail.free-electrons.com (Postfix) with ESMTPSA id 5550A12A; Wed, 9 May 2012 10:26:19 +0200 (CEST) Date: Wed, 09 May 2012 08:26:00 -0000 From: Thomas Petazzoni To: Michael Hope Cc: crossgcc@sourceware.org Subject: Re: GCC support libraries and sysroot Message-ID: <20120509102617.29819e52@skate> In-Reply-To: References: <20120506183641.5d26bcb4@skate> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00016.txt.bz2 Le Mon, 7 May 2012 08:23:59 +1200, Michael Hope a =C3=A9crit : > Hi Thomas. CodeSourcery and crosstool-NG supply a compiler, runtime, > and sysroot. We supply a compiler and runtime that work with a few > sysroots, and include a basic sysroot so the compiler works out of the > box. It's important to me that an end user can easily swap out the > sysroot for a bigger or compatible (Fedora? Debian?) one >=20 > Could you tell me more about your use case? Perhaps we can tweak the > default sysroot. Well, in the end, I managed to get things working for Buildroot. I considered that the GCC support libraries (libgcc_s, libstdc++, etc.) can be in a separate directory, outside the sysroot, and I tweaked our external toolchain logic to support this case. It seems to work fine. I'm not sure it's really readable, but the change I've done to Buildroot is http://git.buildroot.net/buildroot/commit/?id=3De1f0804cc11706648f33a96d68e= 613b8d6593db3. I've also added support for Linaro 2012.04, and I've successfully generated and booted an ARM Linux system with Buildroot and the Linaro 2012.04 toolchain. Thanks! Thomas --=20 Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com -- For unsubscribe information see http://sourceware.org/lists.html#faq