[PATCH] Make macro checks ARMv8-M baseline proof

Thomas Preud'homme thomas.preudhomme@foss.arm.com
Fri Dec 18 11:12:00 GMT 2015


> From: newlib-owner@sourceware.org [mailto:newlib-
> owner@sourceware.org] On Behalf Of Corinna Vinschen
> Sent: Friday, December 18, 2015 5:54 AM
> > >
> >
> > Some older versions of GCC only partially (at best) define the ACLE
> > macros.  You can handle this by including acle-compat.h from
> > newlib/libc/machine/arm.  However, I'm not exactly sure if it's possible
> > to reach over directly from libgloss to the newlib source tree.
> >
> > Jeff/Corinna: is this possible?  if so, what are the runes needed?
> > Ideally acle-compat.h should not be installed since it's only intended
> > to support building newlib.
> 
> I'm not overly familiar with libgloss, but I see various methods used.
> See, for instance, the definitions of NEWLIB_CFLAGS and
> NEWLIB_LDFLAGS
> in epiphany/Makefile.in.

Ok, I'll try reworking along these lines. Thanks Richard for the comment and Corinna for the advice.

Best regards,

Thomas




More information about the Newlib mailing list