[cfe-dev] First shot at Bug 4127 - The clang driver should support cross compilation
James.Molloy at arm.com
Tue Jan 10 11:19:15 PST 2012
Ideally, yes! I'd love for it to be a case of autodetecting the linux distro and then from that being able to infer without any further tests where the headers should be (relative to sysroot).
From: Sebastian Pop [spop at codeaurora.org]
Sent: 10 January 2012 19:02
To: vanboxem.ruben at gmail.com
Cc: James Molloy; cfe-dev at cs.uiuc.edu Developers; clang-commits at cs.uiuc.edu
Subject: Re: [cfe-dev] First shot at Bug 4127 - The clang driver should support cross compilation
On Tue, Jan 10, 2012 at 5:32 AM, Ruben Van Boxem
<vanboxem.ruben at gmail.com> wrote:
> True Linux cross-compilation may not want
> to use native system headers, but some specific to a target.
Exactly! That's the bug that bite me! ;-)
Especially after the refactoring that went in the last minute in the
llvm 3.0 branch...
that was actually a backport of several changes that are currently in tot.
To fix this we would have to completely disable the detection of native
system headers when the c-include-dirs has been specified, either at
configure time, or in a target config file.
Qualcomm Innovation Center, Inc is a member of Code Aurora Forum
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the cfe-dev