[GCC-XML] gccxml_builtins.h and MMX instructions

Brad King brad.king at kitware.com
Sun Jul 25 18:49:03 EDT 2010


On 7/25/2010 3:29 PM, Jason Roelofs wrote:
> On Jul 23, 2010, at 8:50 AM, Brad King wrote:
>>  The fix may be the same either way though.  Whenever gccxml cannot handle
>>  a given compiler's headers we copy them into the Support/... directory and
>>  patch them.  In this case you can patch the header to remove the function
>>  body definition because gccxml only cares about the interface.
>
> Hmm, interesting in trying this out. What steps would I need to
 > take to get GCC-XML to use headers in Support over system headers?

It automatically prefers headers in Support.  Just put the
header under Support/GCC/4.x/ so that #include <> finds it.
Then modify the header as necessary.

If the header is platform-specific, just conditionalize
the entire file in a #if/#endif block.

-Brad



More information about the gccxml mailing list