[PATCH, ping1] Make macro checks ARMv8-M baseline proof
Thomas Preud'homme
thomas.preudhomme@foss.arm.com
Fri Feb 5 06:02:00 GMT 2016
On Thursday, February 04, 2016 02:37:25 PM Richard Earnshaw wrote:
> >
> > My apologize, unified tree build works fine for me here. So there is no
> > newlib directory (or symlink) in your build directory? Could you send me
> > <target triplet>/libgloss/arm/Makefile from your build directory?
>
> Ah, light dawns. I don't use libgloss for my builds, relying on the
> semi-hosting support in newlib itself.
Indeed, I didn't realize this part of newlib was not built when libgloss is
used. So my testing there was moot. I could do the same INCLUDES trick in
newlib/libc/sys/arm/Makefile.am, that should work.
On the other hand, there is already some use of __ARM_ARCH_ISA_THUMB and
__ARM_ARCH_ISA_ARM in newlib/libc/machine/arm/ before that commit so I guess
we don't need to include acle-compat.h there?
By the way, what's the reason for passing NEWLIB_CFLAGS explicitely when
invoking libgloss/<target>/Makefile instead of relying on the export mechanism
that would allow target Makefile to extend (with +=) the variable?
Best regards,
Thomas
More information about the Newlib
mailing list