[llvm-dev] GCC prerequisites for building LLVM head?
Mehdi Amini via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 6 11:42:19 PDT 2016
> On Jul 6, 2016, at 12:46 AM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Is there is minimum required version for GCC to build LLVM from the head revision?
>
> I have GCC v4.9.3, but ‘Tools/sancov/sancov.cc <http://sancov.cc/>’ won’t build because ‘std::to_string’ does not exist.
We usually avoid using std::to_string AFAIK because not supported on every platform we support.
Twine or llvm::utostr are good replacements for that, see r267829 or r257857 for instance.
—
Mehdi
> When running CMake it did not flag GCC v4.9.3 as too old, and it is passing the ‘-std=gnu++11’ option, but apparently this version of GCC is not fully C++ 11 compliant, or at least its C++ library isn’t.
>
> Everything else builds.
>
> Thanks,
>
> MartinO
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160706/b8f4572b/attachment.html>
More information about the llvm-dev
mailing list