From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7328 invoked by alias); 28 Jun 2007 13:35:00 -0000 Received: (qmail 7315 invoked by uid 22791); 28 Jun 2007 13:34:59 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 28 Jun 2007 13:34:56 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1I3u8t-0003Vw-00; Thu, 28 Jun 2007 15:34:39 +0200 Date: Thu, 28 Jun 2007 15:29:00 -0000 To: dorin@gr-303.com Cc: ecos-discuss@sources.redhat.com Message-ID: <20070628133439.GA11014@lunn.ch> Mail-Followup-To: dorin@gr-303.com, ecos-discuss@sources.redhat.com References: <962219.67937.qm@web38210.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <962219.67937.qm@web38210.mail.mud.yahoo.com> User-Agent: Mutt/1.5.13 (2006-08-11) From: Andrew Lunn 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] include_next problem X-SW-Source: 2007-06/txt/msg00270.txt.bz2 On Thu, Jun 28, 2007 at 06:27:18AM -0700, Michael Dorin wrote: > Hello, > > I am trying to build an ecos application which > includes stddef. I get the error below: > > ../../../src/ecos/include/stddef.h" includes itself > #include_next > > #include_next is on the bottom of stddef.h. > Simply removing the include_next seems to be a bad > thing too. > > I am using the arm.com c compiler. > > Any ideas on how to fix this? Use gcc. eCos uses some of the proprietary extensions of gcc which the ARM compiler will not understand. It will be very difficult to use the ARM compiler. I don't think anybody has reported success. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss