[cfe-dev] Clang tooling and cross compiled code bases

Andrew McGregor andrewmcgr at gmail.com
Sun Sep 9 17:43:19 PDT 2012

On 7/09/2012, at 8:57 PM, Manuel Klimek <klimek at google.com> wrote:

> On Fri, Sep 7, 2012 at 3:36 AM, Andrew McGregor <andrewmcgr at gmail.com> wrote:
>> I have an issue where I'm trying to use a libTooling based refactoring tool on a codebase that is intended for cross-compilation.  I have hacked together means to create a compile_commands.json, but the tool is ignoring -triple and -internal-isystem and therefore getting the sizes of many basic types wrong since my compile host is 64 bit and the target isn't.
>> Is there a straightforward way of resolving this?
> I'd say: it's a bug :) Is there an easy way to reproduce this in a
> small example?

I'll try to construct one.  Don't hold your breath, this is a background job.


> Cheers,
> /Manuel
>> Andrew
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2330 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20120910/e43db3d6/attachment.bin>

More information about the cfe-dev mailing list