Patch: Change from configure time to compile time probe for intptr_t, definition.
Joel Sherrill
joel.sherrill@oarcorp.com
Sat Mar 21 19:26:00 GMT 2015
Hi
It doesn't look like the git send-email made it to the list. Attached is
the patch I have tested on some targets. I was trying to build a
complete set of tools with the gcc and binutils/gdb head and that
hasn't gone so well. This definitely gives the right answer on m32c
though.
It removes the configure time probe and replaces it with logic
in <sys/config.h>.
Yaakov.. how does this work for you?
2015-03-18 Joel Sherrill <joel.sherrill@oarcorp.com
* configure.in: Delete logic to determine _UINTPTR_EQ_ULONGLONG
and _UINTPTR_EQ_ULONG at configuration time.
*libc/include/sys/config.h: Add logic to determine
_UINTPTR_EQ_ULONGLONG and _UINTPTR_EQ_ULONG at compilation time.
* libc/include/inttypes.h: Add include of <sys/config.h>.
* configure: Regenerated.
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Change-from-configure-time-to-compile-time-probe-for.patch
Type: text/x-patch
Size: 6375 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20150321/bf8f4c89/attachment.bin>
More information about the Newlib
mailing list