[PATCH] Support cross-compiling for Arm on x86

Chandler Carruth chandlerc at google.com
Wed Oct 30 11:09:50 PDT 2013


On Wed, Oct 30, 2013 at 10:43 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> > What problem are you actually trying to solve? Is it that the GCC
> installation is under a Major.Minor directory, and the headers are under a
> Major.Minor.Patch directory? Why on earth would that happen? It doesn't
> make any sense to me and so doesn't seem like something we should really
> support. I expect the GCC installation to have the same version number
> spelling as the libstdc++ installation, which seems like a sane place to
> be. Anything else and we're running the risk of version skew.
>
> Commenting only on the problem, not the patch:
>
> Something like that yes. On a vanilla 13.10 installation + arm cross
> compiler we have /usr/lib/gcc-cross/arm-linux-gnueabihf/4.8 being a
> symbolic link to 4.8.1, but in /usr/arm-linux-gnueabihf/include/c++/
> there is only a 4.8.1.


Maybe we should resolve symlinks in the installation detector to get the
precise version? (while still using them, and thus preferring the symlinked
version over some other, possibly unstable, version installed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131030/ce01984e/attachment.html>


More information about the cfe-commits mailing list