[cfe-dev] Clang tooling and cross compiled code bases
Manuel Klimek
klimek at google.com
Fri Sep 7 01:57:21 PDT 2012
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?
Cheers,
/Manuel
>
> Andrew
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
More information about the cfe-dev
mailing list