unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: Peter TB Brett <peter@peter-b.co.uk>
Cc: 22406@debbugs.gnu.org
Subject: bug#22406: Cannot compile for Windows x64 due to LLP64 model
Date: Mon, 20 Jun 2016 16:01:13 -0400	[thread overview]
Message-ID: <87a8iftyt2.fsf@netris.org> (raw)
In-Reply-To: <569E3F19.9000502@peter-b.co.uk> (Peter TB Brett's message of "Tue, 19 Jan 2016 13:50:17 +0000")

Peter TB Brett <peter@peter-b.co.uk> writes:

> It is not currently possible to compile Guile 2.0.11 for Windows x64
> (in particular 64-bit Windows running on the x86-64 arch).
>
> Most operating systems' C libraries for x86-64 use an "LP64" model,
> where sizeof(long int) == sizeof(void *) == 8.
>
> However, for backwards-compatibility reasons, Windows uses an "LLP64"
> model, where sizeof(long long int) == sizeof(void *) == 8 and
> sizeof(long int) == 4.

I pushed commit b0a702d7733e02cb68ea2331bd632e25a3127c75 to stable-2.0
which should, I hope, fix the specific issues raised in this bug report.
However, there are likely to be other places in guile where similar
assumptions are made.  If you'd like to test current 'stable-2.0' on
LLP64, we can proceed.

    Thanks!
      Mark





      parent reply	other threads:[~2016-06-20 20:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-19 13:50 bug#22406: Cannot compile for Windows x64 due to LLP64 model Peter TB Brett
2016-01-26 16:02 ` Mark H Weaver
2016-01-26 17:38   ` Mark H Weaver
2016-06-20 20:01 ` Mark H Weaver [this message]

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=87a8iftyt2.fsf@netris.org \
    --to=mhw@netris.org \
    --cc=22406@debbugs.gnu.org \
    --cc=peter@peter-b.co.uk \
    /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).