I don't know if it is the *only* toolchain that works, I know that it is
*a* toolchain that works.

One of the challenges of ARM development is the pernicious relationship
between startup scripts, C library, and os emulation. libnosys.a is useful
when you are using newlib because it stubs out the OS dependent versions of
various system calls in newlib (like malloc).

--Chuck


On Wed, Jan 22, 2014 at 4:50 PM, Sam Protsenko <notifications@github.com>wrote:

> In lib/Makefile.include:
>
> > @@ -23,6 +23,8 @@ ifneq ($(V),1)
> >  Q := @
> >  endif
> >
> > +CFLAGS += -I/usr/include
> > +
>
> Ok, as far as I understand, only this toolchain will work:
> https://launchpad.net/gcc-arm-embedded
>
> because we need libnosys.a library, which comes from Newlib, which is part
> of "GCC ARM Embedded" toolchain. Is it correct?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/libopencm3/libopencm3/pull/249/files#r9099423>
> .
>