From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2112 invoked by alias); 27 Jun 2012 16:22:45 -0000 Received: (qmail 2099 invoked by uid 22791); 27 Jun 2012 16:22:42 -0000 X-SWARE-Spam-Status: No, hits=-4.9 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-pz0-f49.google.com (HELO mail-pz0-f49.google.com) (209.85.210.49) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 27 Jun 2012 16:22:29 +0000 Received: by dadm1 with SMTP id m1so1727285dad.36 for ; Wed, 27 Jun 2012 09:22:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.232.232 with SMTP id tr8mr65251401pbc.73.1340814149062; Wed, 27 Jun 2012 09:22:29 -0700 (PDT) Received: by 10.68.194.1 with HTTP; Wed, 27 Jun 2012 09:22:29 -0700 (PDT) In-Reply-To: <4FEAF7D3.9030507@siva.com.mk> References: <4FE9982C.9020605@dallaway.org.uk> <4FEA2EA8.7020703@googlemail.com> <4FEAAF76.60703@dallaway.org.uk> <4FEAF7D3.9030507@siva.com.mk> Date: Wed, 27 Jun 2012 16:22:00 -0000 Message-ID: From: David Fernandez To: Ilija Kocho Cc: eCos Discussion Content-Type: text/plain; charset=ISO-8859-1 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: [ECOS] Re: eCos arm-eabi GNU tools - test release 4.6.3-20120623 X-SW-Source: 2012-06/txt/msg00053.txt.bz2 On Wed, Jun 27, 2012 at 1:08 PM, Ilija Kocho wrote: >> Do you know anything on the multilib question? My experience is that, >> if you don't set the default cpu and mode appropriately, gcc will >> compile newlib's crt0.S using the wrong default options, and you end >> up with a crt0.o with ARM32 code where you would expect thumb or >> thumb-2... I don't know if the gcc-4.6.3 sources have this problem, >> but surely the gcc-4.7.1 has it, unless you know of some other >> configuration option that makes this work fine. >> > > 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? Does this happen only with newlib, or does it happen also with the standard libraries? -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss