Sorry for intruding I will definitely keep this in mind, as this would definitely make things slightly easier for me to package up the mingw-w64 stuff on solus a lot more easier due to the nature of clang.
On Jun 14, 2017 12:47 PM, "Martell Malone" <[email protected]> wrote: > Hey ardi, > > I am the one implementing this support. > The current status is you can build mingw-w64 with llvm, clang and lld > without binutils or gcc. > libc++, libc++abi and compiler-rt work. > libunwind support is missing so we have no exception handling currently. > There were some 20+ patches merged in the last year to get this working and > fix regressions with each release. > > Bunch of relevant recent revisions and commits. > > https://reviews.llvm.org/D33620 > https://reviews.llvm.org/D33635 > https://reviews.llvm.org/D33638 > https://reviews.llvm.org/D33384 > https://reviews.llvm.org/rL303928 > https://reviews.llvm.org/rL304012 > https://reviews.llvm.org/rL304026 > https://reviews.llvm.org/rL304110 > https://reviews.llvm.org/rL303490 > https://reviews.llvm.org/rL303491 > https://reviews.llvm.org/D29892 > https://reviews.llvm.org/D33601 > > This will only work on master currently. > We can bootstrap clang with clang so it is somewhat stable and usable. > I will start uploading toolchains once the latest libunwind patch gets > merged and reviewed > All the way until the 5.0 release where we should have support in tree. > > mingw-w64 itself however needs some out of tree patches for this. > I usually up to date needed patches and build scripts here > https://github.com/martell/mingw-w64-clang > I haven't update the repo in a month but I can update it over the weekend > if you are in immediate need to bootstrap your own. > > Best, > Martell > > On Wed, Jun 14, 2017 at 5:17 PM, ardi <[email protected]> wrote: > > > Hi, > > > > I've been using mingw64 for many years now (using rubenvb personal > > builds). Now I'm considering to update to a newer mingw64 version, and > > I'm wondering if it's possible to build mingw64 so that the compiler > > is clang instead of gcc. > > > > Note that I'm using mingw64 for cross-compiling from Linux (and MacOS) > > to Win32 and Win64, so my question is if such cross-compiler can be > > clang. > > > > If affirmative, are there any step-by-step instructions on how to > > build it? Any success experiences? > > > > Thanks! > > ardi > > > > ------------------------------------------------------------ > > ------------------ > > Check out the vibrant tech community on one of the world's most > > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > _______________________________________________ > > Mingw-w64-public mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
