unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* configure: error: sizes of long and void* are not identical
       [not found] <AANLkTi=FYEr4g-BafK_OMbHK16NXdw5DhqOZ63iHmxFi@mail.gmail.com>
@ 2010-10-26  0:30 ` Andrey Sukhorukov
  2010-11-19 10:41   ` Andy Wingo
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Sukhorukov @ 2010-10-26  0:30 UTC (permalink / raw)
  To: bug-guile

Dear Developers,

I get the following error when trying to compile guile 1.9.13 for
64-bit Windows system using http://mingw-w64.sourceforge.net/
compiler:

"configure: error: sizes of long and void* are not identical"

The corresponding sizes determined by configure script are:
"checking size of long... 4"
"checking size of void *... 8"

The configure options are
LDFLAGS="-L/usr/lib -m64" CFLAGS="-I/usr/include -m64" ./configure
--host=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --prefix=/usr

Please let me know if additional information/testing is needed to fix
this problem. Thank you.

Best regards,

Andrey



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure: error: sizes of long and void* are not identical
  2010-10-26  0:30 ` configure: error: sizes of long and void* are not identical Andrey Sukhorukov
@ 2010-11-19 10:41   ` Andy Wingo
  2010-11-22 20:30     ` Andrey Sukhorukov
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Wingo @ 2010-11-19 10:41 UTC (permalink / raw)
  To: Andrey Sukhorukov; +Cc: bug-guile

Hi Audrey,

On Tue 26 Oct 2010 02:30, Andrey Sukhorukov <ans124@gmail.com> writes:

> I get the following error when trying to compile guile 1.9.13 for
> 64-bit Windows system using http://mingw-w64.sourceforge.net/
> compiler:
>
> "configure: error: sizes of long and void* are not identical"

I have fixed a number of related problems, and relaxed this
restriction.

However, there are still a number of problems that need fixing on a
platform where a long does not hold the longest integer type that can
fit into a pointer; you will find these when compiling numbers.c (there
is a #error that you will reach). I don't have time to fix those, but
will accept a patch.

Regards,

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: configure: error: sizes of long and void* are not identical
  2010-11-19 10:41   ` Andy Wingo
@ 2010-11-22 20:30     ` Andrey Sukhorukov
  0 siblings, 0 replies; 3+ messages in thread
From: Andrey Sukhorukov @ 2010-11-22 20:30 UTC (permalink / raw)
  To: Andy Wingo; +Cc: bug-guile

Hi Andy,

On Fri, Nov 19, 2010 at 21:41, Andy Wingo <wingo@pobox.com> wrote:
> I have fixed a number of related problems, and relaxed this
> restriction.
>
> However, there are still a number of problems that need fixing on a
> platform where a long does not hold the longest integer type that can
> fit into a pointer; you will find these when compiling numbers.c (there
> is a #error that you will reach). I don't have time to fix those, but
> will accept a patch.
Thank you very much for working on this problem! I am not a
programmer, so would not be able to finish this work. Hopefully your
work would be finished by another qualified person. Then it will
become possible to port several very useful programs which are utilize
guile to mingw-64.

Best regards,

Andrey



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-22 20:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTi=FYEr4g-BafK_OMbHK16NXdw5DhqOZ63iHmxFi@mail.gmail.com>
2010-10-26  0:30 ` configure: error: sizes of long and void* are not identical Andrey Sukhorukov
2010-11-19 10:41   ` Andy Wingo
2010-11-22 20:30     ` Andrey Sukhorukov

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).