Cling on windows with VS2013

You had asked me privately about the mingw compilation we got working. I replied but I think it was private. Lets make it public now so others can see it, I will repost it all here.

I have also attached a patch file and build instructions.

mingw working binary of cling on windows:

s3.amazonaws.com/sysprogs2infus … -cling.exe
It is equivalent to the following nightly build: ecsft.cern.ch/dist/cling/curren … 21.tar.bz2

run cling.exe directly from the directory where it is located. It includes several proof-of-concept workarounds that are sensitive to the working directory.

You need to run this batch file first as well: QueryCppIncludes.bat

I remember that we may have had to replace this .bat’s contents with the below on certain systems if it didn’t work (am just reading from my old emails):

@echo off
set CLING_BIN=%~dp0
echo %CLING_BIN%…/lib/gcc/mingw32/4.7.2/include/c++
echo %CLING_BIN%…/lib/gcc/mingw32/4.7.2/include/c++/mingw32
echo %CLING_BIN%…/lib/gcc/mingw32/4.7.2/include/c++/backward
echo %CLING_BIN%…/lib/gcc/mingw32/4.7.2/include
echo %CLING_BIN%…/lib/gcc/mingw32/4.7.2/…/…/…/…/include
echo %CLING_BIN%…/lib/gcc/mingw32/4.7.2/include-fixed
gbrill
Archive.zip (384 KB)