In general, from a working installation of msys2, you can install and use pkgfile to tell you which package a given file lives in (pass the full msys2-ish location as an argument), then, for each file you find missing, you need to add that too.
I think it's brave to use clang to teach with on Windows at this point, but I admit to not having tried it recently. GCC, for all its size and age, works very well IMHO. In this case, mingw-w64-x86_64-headers, mingw-w64-x86_64-crt and mingw-w64-x86_64-gcc-libs (this is unavoidable as our clang is a gcc-clang). You may also need mingw-w64-x86_64-winpthreads, I'm not sure, and I expect, mingw-w64-x86_64-binutils too. On Sun, Feb 26, 2017 at 4:27 PM, Andrew Lowe <c...@wht.com.au> wrote: > Hi all, > Currently midnight, Sunday here in Perth, Australia. I've been > rebuilding my dev environment for my students, memory stick based using > clang, and the first class is 1pm tomorrow. I think I've got everything > working and as I zip things up I have a brief moment of clarity and > think to myself "maybe I should compile something before I zip and > upload this, just to make sure." > > Well I did and my headers are missing, which means the std lib as > well. > I must have brain faded and not installed something. I've got clang > installed and I haven't installed gcc. Is there an easy way of getting > the standard headers and libs for clang to use without having to install > gcc as well? I've tried all sorts of searches with pacman but I just get > screenfuls of packages and it's impossible to wade throught. > > Thoughts would be greatly appreciated, > > Andrew > > ------------------------------------------------------------------------------ > 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