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