[GNC-dev] GnuCash 4.0 move windows support to only Windows 10?

John Ralls jralls at ceridwen.us
Tue Apr 28 12:27:14 EDT 2020


Sumit,

That's something I've wanted to find time for as well. I haven't yet examined the MS STL code, but I expect that it's based on msvcrt rather than llvm's libc so you'd need to use clang-cl to build a project with it. You'll also need to compile the boost libraries we use (filesystem, system, regex, date_time, and locale) and because of boost::locale, ICU,
with clang-cl. In theory you can continue to use the MinGW-w64 dependencies, but in practice that might explode because the C++ binaries will link against msvcrt140 while the MinGW-w64 provided binaries link against the MSYS2 msvcrt. If that's the case then you'll need to use vcpkg to generate as many of the dependencies as it supports and build the rest yourself.

Note that boost libraries and GnuCash must be built to the same C++ standard and that GnuCash's CMakeLists.txt specifies C++17. The C++17-using code didn't get finished in time to make it into 4.0 so if necessary you can change it to C++14.

Please keep us posted on your progress.

Regards,
John Ralls


> On Apr 28, 2020, at 6:03 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Hi Sumit,
>  
> We support Windows 8.1 because this version if Windows is still supported by Microsoft as well albeit only for extended support.
> https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet
>  
> Feel free to experiment with clang and MSVC STL. If that can be made to work in addition to MingW's clang and gcc that's a nice improvement. Whether that build would run on Windows 8.1 I don't know, and for the moment not that important. Our official builds can and will continue to use MingW's clang and gcc for the time being.
>  
> Regards,
>  
> Geert
>  
> Op dinsdag 28 april 2020 09:24:09 CEST schreef Sumit Bhardwaj:
> > John et al,
> > 
> > I looked through the release notes for 3.90x and noticed the support for
> > Windows 8.1. Is there a specific reason to keep supporting Windows 8.1? Are
> > there many users asking for support on Windows 8.1? For reference, Windows
> > 10 was released on Jul 29, 2015.
> > 
> > Selfishly, I want to see if I can use a clang with MSVC STL
> > (https://github.com/microsoft/stl) to build gnucash on windows and I am not
> > sure, what impact Windows 8.1 would have on that?
> > 
> > Thanks,
> > Sumit
> > 
> > -----Original Message-----
> > From: gnucash-devel
> > <gnucash-devel-bounces+bhardwajs=outlook.com at gnucash.org> On Behalf Of John
> > Ralls Sent: Monday, April 27, 2020 21:10
> > To: gnucash-devel <gnucash-devel at gnucash.org>
> > Subject: [GNC-dev] GnuCash 3.90x Beta Schedule
> > 
> > I trust that everyone noticed that we released the first 3.90x test release
> > this evening. We're aiming to release 4.0 on 28 June and there will be a
> > final 3.11 release of the 3.x branch at the same time. We don't want to
> > risk blowing anything up in that last release, so please commit to maint
> > only bug fixes that are straightforward and fix serious bugs. Everything
> > else should go to master.
> > 
> > We'll have another test release at the end of May and impose feature freeze
> > at that time, meaning that you have 5 weeks to finish up anything
> > substantial and get it merged. June should be spent focussing on fixing any
> > bugs reported against the new work and important fixes that don't involve
> > major surgery. We'll do weekly releases through June to give testers plenty
> > of opportunities to keep up with our progress.
> > 
> > One other date of note is string freeze on 14 June. No changes to translated
> > strings between 14 June and 28 June to give translators a chance to give us
> > the best possible translations--but be nice to them and try really hard to
> > keep a lid on new strings from now on.
> > 
> > Any changes to the plan will go on the release schedule at
> > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.gnuc
> > ash.org%2Fwiki%2FRelease_Schedule&data=02%7C01%7C%7C4e8672d90d9b4f570cfd
> > 08d7eb2b7f6b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637236444364324324
> > &sdata=dKwHmPl0QHVyDC893QYkbBzrNsGE%2FMw6J5pRpnmeVTI%3D&reserved=0.
> > 
> > Regards,
> > John Ralls
> > 
> > _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnuc
> > ash.org%2Fmailman%2Flistinfo%2Fgnucash-devel&data=02%7C01%7C%7C4e8672d90
> > d9b4f570cfd08d7eb2b7f6b%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6372364
> > 44364324324&sdata=Dc8YbuNMsFbOF85eZ22HLEBaZlMCGLtnx37JWBD4Qdk%3D&res
> > erved=0 _______________________________________________
> > gnucash-devel mailing list
> > gnucash-devel at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-devel



More information about the gnucash-devel mailing list