[ECOS] GCC 4.3.x problem
Jonathan Larmour
jifl@eCosCentric.com
Fri Jan 9 18:09:00 GMT 2009
Gary Thomas wrote:
> I'm trying to build using GCC 4.3.2 (I build my own, but as
> far as I can see, the patch set is the same as the eCosCentric
> version). I get this error:
>
> In file included from /tmp/test/ROMRAM/install/include/dirent.h:64,
> from /opt/ecos/packages/fs/jffs2/current/src/os-ecos.h:36,
> from /opt/ecos/packages/fs/jffs2/current/src/nodelist.h:25,
> from /opt/ecos/packages/fs/jffs2/current/src/fs-ecos.c:16:
> /tmp/test/ROMRAM/install/include/limits.h:222:26: error: limits.h: No such file or directory
>
> This stems from <ecos>/packages/isoinfra/current/include/limits.h
>
> /* When using a crosscompiler targeting linux, the next limits.h file
> in the include sequence may be the glibc header - which breaks our
> world. So skip it by defining _LIBC_LIMITS_H_ */
> #define _LIBC_LIMITS_H_
>
> /* Secondly only include if we haven't already been included by it. */
> #ifndef _GCC_LIMITS_H_
> # include_next <limits.h>
> #endif
>
> Note: my source tree is a bit old (pre flash-v2 merge), but I can't
> see what might have changed that affects this.
>
> Ideas anyone?
Oh yes, we have this fixed. I hadn't thought about it when submitting
toolchain patches. I'll submit it.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["Si fractum non sit, noli id reficere"]------ Opinions==mine
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list