This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: library uses type size_t but my build can not resolve it
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Bob Brusa <bob dot brusa at gmail dot com>
- Cc: ecos discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 18 Dec 2012 18:54:47 +0100
- Subject: Re: [ECOS] library uses type size_t but my build can not resolve it
- References: <50D0AC31.4030108@gmail.com>
On Tue, Dec 18, 2012 at 06:47:29PM +0100, Bob Brusa wrote:
> Hi,
> I built a library for an arm-processor (AT91SAM7s256) based system.
> String routines and many others use the type size_t. But all such
> functions I reference seem to have a problem with this type, because
> its defined nowhere. Nevertheless, the build is successful.
>
> The stddef.h linked into my library is the one from
>
> ecos\packages\isoinfra\current\include
>
> All this file contains is (essentially):
>
> #include_next <stddef.h>
>
> but there is no other stddef.h in my library. I do not grasp the
> logic behind this. Any help?
Your compiler should provide it.
/opt/ecos/gnutools/arm-elf/lib/gcc-lib/arm-elf/3.2.1/include/stddef.h
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