This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
RE: [PATCH] Make macro checks ARMv8-M baseline proof
- From: "Thomas Preud'homme" <thomas dot preudhomme at foss dot arm dot com>
- To: <newlib at sourceware dot org>
- Date: Fri, 18 Dec 2015 18:09:42 +0800
- Subject: RE: [PATCH] Make macro checks ARMv8-M baseline proof
- Authentication-results: sourceware.org; auth=none
- References: <000a01d137ff$b5e24c70$21a6e550$ at foss dot arm dot com> <56719806 dot 40006 at arm dot com> <20151217215339 dot GC32027 at calimero dot vinschen dot de>
> 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