> Le 5 déc. 2017 à 20:26, David Grayson <davidegray...@gmail.com> a écrit :
> 
> Also note that the "gcc" package is a totally different toolchain and
> you probably want to be using the mingw-w64-x86_64-gcc package
> instead.

Excellent! it works with the mingw-w64-x86_64-gcc package!
Thanks
—
Dom

ps: in the meantime, I tried using clang, but never succeeded in getting a 
correct environment 

> 
> --David
> 
> On Tue, Dec 5, 2017 at 10:54 AM, Óscar Fuentes <o...@wanadoo.es> wrote:
>> Dominique Fober <fo...@grame.fr> writes:
>> 
>>> I’m compiling a program using gcc 6 and I try to link with llvm 5.0 
>>> libraries.
>>> Below is the detail of the installed packages.
>>> gcc 6.4.0-1
>>> gcc-libs 6.4.0-1
>>> mingw-w64-x86_64-llvm 5.0.0-3
>> 
>> Any reason for using gcc/gcc-libs version 6.4? The binaries on the LLVM
>> package almost certainly are compiled with gcc 7.x. In general, when
>> working with C++ it is not good idea to mix binaries compiled with
>> different versions of gcc.
>> 
>>> I get a lot of errors (see an excerpt below) at link time, almost all
>>> of them are related to undefined references to std::__cxx11:: symbols.
>>> Any idea about what’s wrong ?
>> 
>> Try with gcc 7.x and see if the errors go away. Failing this, show the
>> full link command.
>> 
>> 
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Msys2-users mailing list
>> Msys2-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Msys2-users mailing list
> Msys2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msys2-users


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to