This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: include_next problem
- From: Andrew Lunn <andrew at lunn dot ch>
- To: dorin at gr-303 dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 28 Jun 2007 15:34:39 +0200
- Subject: Re: [ECOS] include_next problem
- References: <962219.67937.qm@web38210.mail.mud.yahoo.com>
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 <stddef.h>
>
> #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