unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Peter TB Brett <peter@peter-b.co.uk>
To: guile-devel@gnu.org
Subject: Re: Automated build script for Windows builds
Date: Mon, 11 Jan 2016 19:09:33 +0000	[thread overview]
Message-ID: <87si240w7m.fsf@harrington.peter-b.co.uk> (raw)

Hi Mads,

Glad to see I'm not the only person who's building Guile for Windows!

For the gEDA project, which uses Guile quite extensively, we've for
quite some years had a recipe-based cross-build system called "minipack"
that's use for cross-compiling Guile and the geda-gaf electronic design
package.

    https://github.com/peter-b/minipack

Do you think that there might be some scope for collaboration around
minipack?  It might be a good approach for avoiding duplication of
effort in this area, and would mean that more time can be spent on
improving Guile on Windows rather than just getting it working.

I've identified two things that I'd really like to get some help with:

* Guile is happy to be built with an i686-w64-mingw32 compiler, but it
  fails to build with an x86_64-w64-mingw32 compiler.  This is because
  of the implementation of scm_i_inum2big().  This is happy to be
  compiled on LP64 systems (where sizeof(long) == 8).  However, Windows
  x64 is an LLP64 system where sizeof(int) == sizeof(long) == 4, meaning
  that scm_i_inum2big() doesn't work.  I'm not sure what would be
  involved with addressing this, but until it is fixed, it's not
  possible to compile a 64-bit Guile for Windows.

* Currently, it's necessary to define the GUILE_LOAD_COMPILED_PATH,
  GUILE_LOAD_PATH and (optionally) GUILE_SYSTEM_EXTENSIONS_PATH
  environment variables before guile.exe will run on a Windows systems.
  Ideally, I'd like to be able to provide a relocatable Windows build
  that could be provided as an archive that could be extracted anywhere
  and run with no additional configuration.  What would be involved in
  enabling libguile to guess appropriate load paths on Windows without
  having to faff around with Windows' awkward environment variable
  configuration UI?

Thanks in advance to anyone who can help me out with these two issues!

                              Peter

-- 
Dr Peter Brett <peter@peter-b.co.uk>



             reply	other threads:[~2016-01-11 19:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-11 19:09 Peter TB Brett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-01-04  2:27 Automated build script for Windows builds Mads Elvheim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87si240w7m.fsf@harrington.peter-b.co.uk \
    --to=peter@peter-b.co.uk \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).