Building on Windows from scratch - guile problem
mail at gary.bilkus.com
Thu Jan 9 11:49:34 EST 2014
The problem appears to be with the compiler optimiser doing something too aggressive, If I manually recompile guile with -O0 instead of -O2 the problem seems to go away. This could be caused by one of the new optimisations in the more recent versions of gcc in which case it could start to matter on *nix at some point. Anyone know much about this?
From:Gary Bilkus <mail at gary.bilkus.com>
Sent:Thu 09-01-2014 13:37
Subject:Building on Windows from scratch - guile problem
To:gnucash-devel at gnucash.org;
I have done some testing of my build, and it appears there is some kind
of problem with guile
The symptom is that whenever I try to run a report, even hello world, it
Digging into things, it turns out that there is at least one problem
with the guile build, whcih is that
character constants like #\space are not being initialized correctly.
Just running guile standalone shows the problem.
So there's obviously some problem with the guile build over and above
the library naming one I found earlier. Not sure if it's the version,
the compiler version or what.
Will investigate further, but any suggestions or experience from other
would be welcome....
On 08/01/2014 15:07, Gary Bilkus wrote:
> I have written up the procedure which as of today is working to build
> gnucash 2.6 from scratch on windows and updated
> It would be really nice if the patch file I have created along with my
> modified version of geert's vbs file could find their way into the
> official repo.
> It should be safe enough as all the changes are to the win32 directory
> except for two, which I'm reasonably confident won't break anything else:
> - configure.ac now deals with the -no-undefined flag more cleverly
> - gnc-split-reg.h has a couple of #undef statements added to avoid
> DELETE and DUPLICATE being defined in windows headers.
> It probably also makes sense for the page to be split up again, and
> some of the older information moved away, but it would be good to get
> some feedback from people who try following the instructions.
> I've done my best to ensure that there are no ambiguities or
> misprints, and the entire process has worked for me, but feel free to
> fix any errors, or tell me of any changes I can/should make to the zip
> file I've published.
> Please note that I haven't extensively tested all the features of the
> program. There could be some issues with the build which don't
> immediately manifest themselves......but at least it runs.
> Also, I haven't yet tried packaging the app into an msi or installable
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
gnucash-devel mailing list
gnucash-devel at gnucash.org
More information about the gnucash-devel