[cfe-dev] Building Clang on Windows

Reid Kleckner via cfe-dev cfe-dev at lists.llvm.org
Wed Oct 3 14:29:03 PDT 2018


I posted a patch to update the docs: https://reviews.llvm.org/D52843

Can anyone who actually knows answer Shaob's question? He asked "Does the
Win64 generator automatically imply -Thost=x64?"

On Wed, Oct 3, 2018 at 11:20 AM Stephan T. Lavavej via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> Did you use the 64-bit hosted compiler? (I think Clang's instructions
> should be rewritten to assume VS 2017 and 64-bit hosting, instead of saying
> it's optional.)
>
>
>
> STL
>
>
>
> *From:* cfe-dev <cfe-dev-bounces at lists.llvm.org> *On Behalf Of *Fábio
> Picchi via cfe-dev
> *Sent:* Wednesday, October 3, 2018 9:56 AM
> *To:* cfe-dev at lists.llvm.org
> *Subject:* [cfe-dev] Building Clang on Windows
>
>
>
> Hello everyone,
>
>
>
> This week I tried to use clang on my windows setup and was very happy to
> see how the site invited people to get involved and contribute to the
> project.
>
>
>
> With this in mind I tried to build clang following the instructions here
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fclang.llvm.org%2Fget_started.html&data=02%7C01%7Cstl%40exchange.microsoft.com%7Cf5b43d9b24cc41afcf8108d629512a61%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636741825921297608&sdata=vjX9cIbH21gM5nj8Or2rEv5QLmub74e3I7kiXQdR%2BbU%3D&reserved=0>
> and everything went fine until I actually tried to compile the *clang*
> project using visual studio. I got a *compiler is out of heap space*
> error which surprised me as I had previously built big projects such as the
> Dolphin Emulator without a problem.
>
>
>
> I detailed some of my failed attempts to fix this issue in this SO
> question
> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F52628064%2Fbuilding-clang-on-windows-memory-usage&data=02%7C01%7Cstl%40exchange.microsoft.com%7Cf5b43d9b24cc41afcf8108d629512a61%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636741825921297608&sdata=Lc37LhErZm5eU%2Fpcp45qmVeynBLKklcjuhR%2F5fNejf0%3D&reserved=0>.
> Do you have any suggestions?
>
>
>
> Best regards,
>
> Fabio Picchi
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20181003/154ff938/attachment.html>


More information about the cfe-dev mailing list