[PATCH][MIPS] clang support
Joseph S. Myers
joseph@codesourcery.com
Mon Jun 6 13:03:00 GMT 2011
On Sat, 4 Jun 2011, Aurelien Jarno wrote:
> When trying to build clang programs on MIPS, they fail as clang doesn't
> export the _MIPS_SZPTR builtin. The patch below fixes that by using
> _MIPS_SZPTR when available with a fallback on __INTPTR_WIDTH__.
Maciej, any comments on where the API for predefined macros on MIPS
(_MIPS_SIM, _MIPS_SZPTR, etc.) comes from and whether it is documented?
I'm inclined to think it's a bug in any MIPS compiler (or at least any
compiler for MIPS Linux) to fail to define these macros.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-ports
mailing list