From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2108 invoked by alias); 28 Jun 2012 20:05:04 -0000 Received: (qmail 2054 invoked by uid 22791); 28 Jun 2012 20:05:01 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ee0-f49.google.com (HELO mail-ee0-f49.google.com) (74.125.83.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Jun 2012 20:04:49 +0000 Received: by eekd17 with SMTP id d17so968340eek.36 for ; Thu, 28 Jun 2012 13:04:48 -0700 (PDT) Received: by 10.14.101.7 with SMTP id a7mr827085eeg.47.1340913888041; Thu, 28 Jun 2012 13:04:48 -0700 (PDT) Received: from localhost.localdomain (host-2-96-99-49.as13285.net. [2.96.99.49]) by mx.google.com with ESMTPS id u56sm855756eef.7.2012.06.28.13.04.45 (version=SSLv3 cipher=OTHER); Thu, 28 Jun 2012 13:04:46 -0700 (PDT) Message-ID: <4FECB8DC.1000100@googlemail.com> Date: Thu, 28 Jun 2012 20:05:00 -0000 From: David Fernandez User-Agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Ilija Kocho CC: Stanislav Meduna , eCos Discussion References: <4FEB399D.60503@siva.com.mk> In-Reply-To: <4FEB399D.60503@siva.com.mk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: Re: [ECOS] Re: eCos arm-eabi GNU tools - test release 4.6.3-20120623 X-SW-Source: 2012-06/txt/msg00060.txt.bz2 On 27/06/12 17:49, Ilija Kocho wrote: > On 27.06.2012 18:38, Stanislav Meduna wrote: >> On 27.06.2012 18:22, David Fernandez wrote: >> >>>> You will find multilibs for all architectures of interest for eCos under >>>> gnutools/arm-eabi/lib/gcc/arm-eabi/4.6.3/ directory. This multilib >>>> configuration is produced by gcc-4.6.3-ecos-120524_t-arm-elf.diff. >>> Ilija, are you then saying that gcc does not do it right as-is, and we >>> need to patch it? >> FWIW I do not remember such problems - I am compiling for an ARM9 >> and a thumb2 with the same toolchain and it works. I did not test >> 4.6.3 specifically, but it worked for 4.5.something compiled >> under MinGW (although with other problems) and works for 4.7 >> canadian cross (built on linux targeting MinGW and compiling >> for eCos). >> >> As far as I remember the abovementioned patch only tweaks what >> multilibs from the zillion possible actually get build. > Correct, eCos' patch instructs GCC builder what libs (i.e. for which > targets) are of interest for eCos. > > Ilija. > Then, is it usually necessary to patch gcc or prepare its source files in a special way (other than just using the configure command) to get the C libraries compiled for several architectures, cpus, and modes? -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss