Building on Windows from scratch - follow up

Geert Janssens janssens-geert at telenet.be
Mon Apr 28 16:10:32 EDT 2014


On Monday 28 April 2014 07:52:03 John Ralls wrote:
> On Apr 28, 2014, at 2:09 AM, Geert Janssens <janssens-
geert at telenet.be> wrote:
> > This weekend I have spent more time on getting the Windows build
> > running with more recent mingw compilers (gcc 4.8).
> > 
> > This is a continuation of the work I have started in December last
> > year.
> > 
> > Current status:
> > - I have forked packaging/win32 into a separate directory with the
> > clear goal of decoupling the maintenance of a build environment on
> > Windows from gnucash releases. This repository is currently
> > publicly accessible from my personal github account:
> > https://github.com/gjanssens/gnucash-on-windows
> > Ultimately it is my goal to bring this repository under the GnuCash
> > project umbrella but not everything is working yet (more on that
> > later). - The install and dist scripts have been updated so that a
> > working gnucash installer can be built in the new mingw
> > environment. Up until yesterday afternoon gnucash installed by the
> > installer worked as well. I haven't tested the build with the new
> > c++ changes yet.
> > 
> > What's still missing:
> > - the scripts for the build server need some tweaking in order to
> > build tags under the new configuration.
> > - improve documentation
> > - set up desktop icon for msys.
> > 
> > Future plans:
> > - fix the build server scripts
> > - reduce build overhead by smartening the install scripts
> > 
> > Wild, halfbaked ideas for the long term:
> > - switch to mingw64 [1] and win-builds [2]
> > - package the gnucash dependencies for win-builds and reduce setting
> > the gnucash environment to running the win-builds package manager
> > 
> > Lastly, how to use my repository ?
> > - Download the bootstrap_win_dev.vbs script. It has some
> > documentation at the beginning. Running it is mostly a
> > double-click. This will prepare a c:\gcdev directory with the
> > minimal tools required to run install.sh - Start msys
> > (c:\gcdev\mingw\msys\1.0\msys.bat)
> > - cd /c/gcdev/gnucash-on-windows.git
> > - install.sh
> > and if you want to create the windows installer as well:
> > - dist.sh
> > 
> > Please test and provide feedback.
> 
> Yay! I'll pull it and start a build soon.
> 
I don't know if you have started this already but meanwhile I found a 
couple of bugs still (I pushed my most recent fix about 45 mins ago).

You may want to pull my most recent changes, remove the generated 
custom.sh file and then rerun the bootstrap script.

There was a bug in the generated custom.sh and apparently the libdbi 
patches lost some critical whitespace somewhere in my git manipulations.

Both should be fixed now. My test machine is currently in the 
inst_gnucash step. It got past qof already meaning the new build system 
is happy with your c++ patches. Nice :)

Geert


More information about the gnucash-devel mailing list