public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] include_next problem
@ 2007-06-28 15:23 Michael Dorin
  2007-06-28 15:29 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Dorin @ 2007-06-28 15:23 UTC (permalink / raw)
  To: ecos-discuss

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?

-Mike


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] include_next problem
  2007-06-28 15:23 [ECOS] include_next problem Michael Dorin
@ 2007-06-28 15:29 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2007-06-28 15:29 UTC (permalink / raw)
  To: dorin; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-28 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-28 15:23 [ECOS] include_next problem Michael Dorin
2007-06-28 15:29 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).