This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][MIPS] clang support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]