From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23786 invoked by alias); 21 Oct 2009 18:41:42 -0000 Received: (qmail 23776 invoked by uid 22791); 21 Oct 2009 18:41:41 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-fx0-f223.google.com (HELO mail-fx0-f223.google.com) (209.85.220.223) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Oct 2009 18:41:36 +0000 Received: by fxm23 with SMTP id 23so8643254fxm.30 for ; Wed, 21 Oct 2009 11:41:34 -0700 (PDT) Received: by 10.204.160.144 with SMTP id n16mr8375428bkx.152.1256150494446; Wed, 21 Oct 2009 11:41:34 -0700 (PDT) Received: from localhost ([93.85.62.70]) by mx.google.com with ESMTPS id 14sm4853bwz.5.2009.10.21.11.41.32 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 Oct 2009 11:41:33 -0700 (PDT) Date: Wed, 21 Oct 2009 18:41:00 -0000 From: Sergei Gavrikov To: =?iso-8859-1?Q?=D8yvind?= Harboe Cc: eCos Disuss Message-ID: <20091021184130.GA5952@sg-laptop> Mail-Followup-To: =?iso-8859-1?Q?=D8yvind?= Harboe , eCos Disuss References: <20091021140357.GA18725@sg-ubuntu.local> <20091021154001.GA4391@sg-laptop> <20091021161530.GA4385@sg-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-IsSubscribed: yes 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] extern __inline__ and optimisation problems X-SW-Source: 2009-10/txt/msg00145.txt.bz2 On Wed, Oct 21, 2009 at 06:50:26PM +0200, Øyvind Harboe wrote: > On Wed, Oct 21, 2009 at 6:15 PM, Sergei Gavrikov > wrote: [snip] > > Search: gcc 4 extern inline > > http://gcc.gnu.org/gcc-4.3/porting_to.html > > > > May be that's it. > > It almost certainly is... Thanks for the tip! > > Does this really mean that *all* those places in eCos have to > be touched to become compatible with the -std=c99 or -std=gnu99 > options? > > Ouch. Greping the list on C99, I can repeat following you, Ouch :-) As I could understand eCos LIBC is not ready to be C99 compliant. Recent bird was Uwe's cdl_option CYGIMP_LIBC_STDIO_C99_SNPRINTF, but, it seems your dreams about eCos modularity via DVCS is near future to have some "C99" branch of the eCos language/c/libc. Ouch! But, may be it won't be _too_ hard to play with these CDLs for start grep ^cdl.*INLINE ecos.ecc | wc -l 22 Certainly, if I did not miss something in your message. Yet another what I found from man gcc-4.3 is -fgnu89-inline. Well, you have a full control on your own CFLAGS and I hope you have a time for a digging and let us to know a solution, please. Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss