[cfe-dev] building LLVM/Clang on Windows 7 x64 using MinGW/MSYS

Yaron Keren yaron.keren at gmail.com
Thu Oct 10 05:10:07 PDT 2013


3GB is too close for comfort for the 32 bit linker.
G M reports success with the 64 bit toolchain so maybe it's actually
required with current versions.

Are you using the 32-bit toolchain or 64-bit toolchain of mingw-builds?

Yaron



2013/10/10 Mikael Lepistö <mikael.lepisto at vincit.fi>

> Hi,
>
> I also had some problems with building llvm+clang on MinGW 4.8.1 + MSYS.
> Another thing was that linker did require ~3GB memory to complete on x64.
>
> Here in the readme I have listed steps and linked versions of MinGW and
> MSYS to use for being able to compile llvm + clang on Windows 7.
>
>
> https://github.com/KhronosGroup/webcl-validator#building-with-windows-mingw--msys
>
> Good luck!
>
> Best regards, Mikael Lepistö
>
>
> On Thu, Oct 10, 2013 at 11:50 AM, Yaron Keren <yaron.keren at gmail.com>wrote:
>
>> I'd try switching MingW distribution as it's very easy to do.
>> If you're now using http://www.mingw.org/ try
>> http://sourceforge.net/projects/mingwbuilds/ and vice verse. These are
>> different distributions with different patches and different binaries.
>> For instance ld.exe in the former is 9MB and in the later 944K.
>>
>> Yaron
>>
>>
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20131010/a8c180a8/attachment.html>


More information about the cfe-dev mailing list